Click or drag to resize

IMcGraphObjText2GetBounds Method

Returns the coordinates of this object's bounding box.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Sub GetBounds ( 
	<OutAttribute> ByRef Left As Single,
	<OutAttribute> ByRef Top As Single,
	<OutAttribute> ByRef Right As Single,
	<OutAttribute> ByRef Bottom As Single
)

Parameters

Left
Type: SystemSingle
On exit, set to the x coordinate of the left upper corner.
Top
Type: SystemSingle
On exit, set to the y coordinate of the left upper corner.
Right
Type: SystemSingle
On exit, set to the x coordinate of the right bottom corner.
Bottom
Type: SystemSingle
On exit, set to the y coordinate of the right bottom corner.

Implements

IMcGraphObjTextGetBounds(Single, Single, Single, Single)
Remarks
The coordinates are returned in image-coordinates, not screen or client coordinates. If the McGraphObj.AngleOfRotation is non-zero, the returned bounds are those of the rotated points. Note that the McGraphObjRect.GetSize method returns the width and height of the unrotated rectangle, not the width and height of the rotated bounding box.
See Also