Click or drag to resize

IMcGraphObjRect2SetHandle Method

Sets the coordinates of a graphic object handle.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Sub SetHandle ( 
	Index As Integer,
	x As Single,
	y As Single,
	Optional Dragging As Boolean = false,
	Optional FromTool As Boolean = false
)

Parameters

Index
Type: SystemInt32
Index of the handle. The layout of the handles is defined by the object class, see the documentation for McGraphObj derived interfaces for details.
x
Type: SystemSingle
x coordinate.
y
Type: SystemSingle
y coordinate.
Dragging (Optional)
Type: SystemBoolean
Set to true when the object is dragged interactively.
FromTool (Optional)
Type: SystemBoolean
Set to True when calling from a graphic tool.

Implements

IMcGraphObjRectSetHandle(Int32, Single, Single, Boolean, Boolean)
Remarks
The layout of the handles is defined by the object class, see the documentation for McGraphObj derived interfaces for details. The supplied x,y handle position is the unrotated position of the handle (i.e., at zero AngleOfRotation), which is also the way that GetHandle returns its results. The RotatedHandle property exposes and allsows assignment of rotated handle coordinates. Note that the GetPoints method will also return rotated coordinates. Also, the GetBounds method returns the bounds of the rotated points.
See Also