BringToFront;
The BringToFront method brings an object to front.
Executing the example requires an existing ws object of the IWxWorkspace type. The workspace must contain several shapes.
Sub UserProc;
Var
ws: IWxWorkspace;
Shape: IWxShape;
Begin
ws.BeginUpdate;
Shape := ws.Shapes.Item(0);
Shape.BringToFront;
ws.EndUpdate;
End Sub UserProc;
After executing the example the selected object is brought to front.
See also: