SendToBack;
The SendToBack method sends an object to back.
Executing the example requires that the repository contains a workspace with the WSP identifier that contains several shapes.
Add links to the Andy, Metabase system assemblies.
Sub UserProc;
Var
Mb: Imetabase;
Wsp: IWxWorkspace;
Shape: IWxShape;
Begin
// Get workspace for editing
Mb := MetabaseClass.Active;
Wsp := Mb.ItemById("WSP").Edit As IWxWorkspace;
Shape := Wsp.Shapes.Item(0);
Shape.SendToBack;
(Wsp As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the selected object is sent to back.
See also: