Aspose::Pdf::Page::DeleteGraphics method

Page::DeleteGraphics method

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

void Aspose::Pdf::Page::DeleteGraphics(const System::SharedPtr<Aspose::Pdf::Vector::GraphicElementCollection> &elementsToDelete)
ParameterTypeDescription
elementsToDeleteconst System::SharedPtr<Aspose::Pdf::Vector::GraphicElementCollection>&Graphics collection that will be deleted from the page.

See Also