ToFrontOrBack

Shape.ToFrontOrBack method

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

public void ToFrontOrBack(int orders)
Parameter Type Description
orders Int32 If 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