Shape.ToFrontOrBack

Shape.ToFrontOrBack method

Brings the shape to the front or sends the shape to back.

public void ToFrontOrBack(int orders)
ParameterTypeDescription
ordersInt32If it’s less than zero, sets the shape to back. If it’s greater than zero, brings the shape to front.

Examples


[C#]
shape.ToFrontOrBack(2);
//or shape.ToFrontOrBack(-1);

See Also