Click or drag to resize

IMcGraphObjRect2GetCenter Method

Returns the center of a graphic object.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Sub GetCenter ( 
	<OutAttribute> ByRef x As Single,
	<OutAttribute> ByRef y As Single
)

Parameters

x
Type: SystemSingle
Returned center x coordinate.
y
Type: SystemSingle
Returned center y coordinate.

Implements

IMcGraphObjRectGetCenter(Single, Single)
Remarks
The returned center is in image coordinates. The center point is also the center of rotation (see McGraphObj.AngleOfRotation).
See Also