Delete;
Delete();
The Delete method deletes an object.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
Shape: IWxShape;
Begin
Shape := ws.Shapes.Item(0);
Shape.Delete;
End Sub UserProc;
After executing this example the object located in a workspace is deleted.
Executing the example requires an existing ws object of the IWxWorkspace type.
Imports System;
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Andy;
Pablic Shared Sub UserProc();
Var
ws: IWxWorkspace;
Shape: IWxShape;
Begin
Shape := ws.Shapes.Item[0];
Shape.Delete();
End Sub UserProc;
After executing this example the object located in a workspace is deleted.
See also: