DefineRegionRectangle

 

The DefineRegionRectangle method defines a region with a rectangle. Returns a Rectangle object.

 

Syntax

object.DefineRegionRectangle( Left, Top, Right, Bottom, UnitType )

 

Parameter

Type

Description

Left

Double

required; left coordinate in page units

Top

Double

required; top coordinate in page units

Right

Double

required; right coordinate in page units

Bottom

Double

required; bottom coordinate in page units

UnitType

MVCoordDisplayUnits

optional; unit type, default is mvCoordDisplayUnitPageUnits

 

Example

This example defines a region with a rectangle.

 

MapShapes.DefineRegionRectangle(Left:=4.5, Top:=7, Right:=8, Bottom:=4)

 

Used by: Shapes collection