Click or drag to resize

IMcGraphOverlaySelectedGraphObj Property

The first selected McGraphObj, or optionally, the selected McGraphObj at a given index.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property SelectedGraphObj ( 
	Optional Index As Integer = 0
) As Object
	Get

Parameters

Index (Optional)
Type: SystemInt32
An optional argument giving an index in the list of selected McGraphObj instances. If not given, then the Index used is 0, that is the first-to-be-drawn selected McGraphObj.

Property Value

Type: Object
Remarks
This property can be used to get a particular selected graph object. To traverse all selected graph objects, you can call SetEnumFilter and then use For Each to get each instance.
Note Note
The selected McGraphObj instances are sorted by their McGraphObj.DrawingOrder property. This ensures that a set of selected objects copied to the clipboard and then pasted (see EditCopy and EditPaste) or moved in the drawing order (see MoveToFront and MoveToBack) will keep the same relative drawing order. The exposed object's McGraphObj.SelectedOrder property will be equal to the SelectedGraphObj Index argument.
See Also