Delete(Index: Integer);
Delete(Index: integer);
Index. Shape index in the collection.
The Delete method deletes a shape from the collection of selected shapes based on the defined index.
Executing the example requires a form with the Button1 button, the WorkspaceBox component and the UiWorkspace component named UiWorkspace1, which is a data source for WorkspaceBox.
Add links to the Andy, Drawing, Workspace system assemblies.
After executing the example the created objects are aligned to the vertical center, and the rectangle is deselected.
See also: