Page.DeleteGraphics

Page.DeleteGraphics method

Deletes graphics from the page. Works faster than deleting elements one by one with Remove method.

public void DeleteGraphics(GraphicElementCollection elementsToDelete)
ParameterTypeDescription
elementsToDeleteGraphicElementCollectionGraphics collection that will be deleted from the page.

See Also