IMcGraphObjGetPosition Method
|
|
Returns the position 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
SyntaxSub GetPosition (
<OutAttribute> ByRef x As Single,
<OutAttribute> ByRef y As Single
)
Parameters
- x
- Type: SystemSingle
Returned x position. - y
- Type: SystemSingle
Returned y position.
RemarksThe returned position is in image coordinates and is the position of
handle number 1, which for rectangular objects is the left upper point defining
the object.
This position is the unrotated position of the object (i.e., at zero
AngleOfRotation). The RotatedPosition property exposes rotated position
coordinates. Note that the GetPoints method will also return rotated
coordinates. Also, the GetBounds method returns the bounds of the rotated
points.
See Also