The DeleteAllItems
method is a public instance method of the Editor.GraphicsView
class. It is used to remove all items from the graphics view. This method does not take any parameters and does not return any value.
The DeleteAllItems
method is a public instance method of the Editor.GraphicsView
class. It is used to remove all items from the graphics view. This method does not take any parameters and does not return any value.
To use the DeleteAllItems
method, you need to have an instance of the Editor.GraphicsView
class. Once you have the instance, you can call this method to clear all items from the view. This is useful when you want to reset the view or prepare it for a new set of items.
// Assuming 'graphicsView' is an instance of Editor.GraphicsView // Delete all items from the graphics view graphicsView.DeleteAllItems();