This documentation is for the old version. Go to the latest Graphics Mill docs

Layer.SwapObjects Method (Int32, Int32)

Swaps the v-objects specified by their indices inside the layer (changes the z-order).

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)

Syntax

Visual Basic
Public Sub SwapObjects ( _
	index0 As Integer, _
	index1 As Integer _
)
C#
public void SwapObjects(
	int index0,
	int index1
)

Parameters

index0

Type: System.Int32

The index of the first object to swap.
index1

Type: System.Int32

The index of the second object to swap.

See Also

Reference