Aspose::Pdf::Page::AddGraphics method
Page::AddGraphics method
Adds graphics to the page. Works faster than adding elements one by one with GraphicElement::AddOnPage(Page) method.
void Aspose::Pdf::Page::AddGraphics(System::SharedPtr<Vector::GraphicElementCollection> elements, System::SharedPtr<Aspose::Pdf::Rectangle> rectangle=nullptr)
Parameter | Type | Description |
---|---|---|
elements | System::SharedPtr<Vector::GraphicElementCollection> | Graphics collection. |
rectangle | System::SharedPtr<Aspose::Pdf::Rectangle> | Elements will be added to the page if it’s |
GraphicElement::Position |
is inside the rectangle area. If rectangle is null, all graphic elements will be added |
See Also
- Class GraphicElementCollection
- Class Rectangle
- Class Page
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++