SendToBack;
The SendToBack method sends an object to back.
Executing the example requires that repository contains a workspace with the WSP identifier containing 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: