Description

Returns the coordinates of this object's bounding box.

Return Type

None  
Value Meaning

HRESULT

 

Syntax

object.GetBounds Left, Top, Right, Bottom

The GetBounds Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObj.
LeftRequired. A Single value.

set to the x coordinate of the left upper corner.

TopRequired. A Single value.

set to the y coordinate of the left upper corner.

RightRequired. A Single value.

set to the x coordinate of the right bottom corner.

BottomRequired. A Single value.

set to the y coordinate of the right bottom corner.

Remarks

The coordinates are returned in image-coordinates, not screen or client coordinates.