Click or drag to resize

IMcGraphOverlay2SetObjectsLayer Method

Assigns one or more objects to a layer. Also used to collapse one layer into another.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Sub SetObjectsLayer ( 
	TargetLayer As Integer,
	<OptionalAttribute> Objects As Object
)

Parameters

TargetLayer
Type: SystemInt32
The target Layer number, from 0 through 9, to which the Objects are assigned. The LastTargetLayer property is set to this value.
Objects (Optional)
Type: SystemObject
If not given or Empty, then the Layer property of the current set of selected objects is set to the TargetLayer argument value. If given as a numeric value from 0 through 9, then objects in that layer are assigned to the TargetLayer argument layer. If given as a numeric value of -1, then objects in any layer are moved into the TargetLayer. If given as a McGraphObj object instance, then the McGraphObj.Layer property for that object is set to the TargetLayer (this is equivalent to assigning TargetLayer to the McGraphObj.Layer property).
Remarks
This property takes a selector argument to specify which layer or layers are being accessed.
See Also