The DefineRegionByPID method defines a region by copying an existing area, rectangle or circle, identified by a primary ID. Returns a Shape object.
Syntax
object.DefineRegionByPID( PIDName )
Parameter |
Type |
Description |
PIDName |
String |
required; primary ID |
Example
This example defines a region based on the map object with a primary ID of Canada.
MapShapes.DefineRegionByPID("Canada")
Used by: Shapes collection