Click or drag to resize

IMcGraphOverlayGetItemFromDrawingOrder Method

Returns a graphic object from the collection based on its DrawingOrder property value.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Function GetItemFromDrawingOrder ( 
	DrawingOrderToGet As Integer
) As Object

Parameters

DrawingOrderToGet
Type: SystemInt32
The object ID to find.

Return Value

Type: Object
The McGraphObj found as an object, or Nothing if no object with the given ID can be found.
Remarks
Only normal, non-template, non-label objects (ones with Category mcgewMaster) are found by this method. Use the Item property to find objects based on their position or ID property. To find other objects in other Categories or based on other properties, use the SetEnumFilter method and then search for the object in a "For Each" loop.
See Also