Aspose::Pdf::Vector::GraphicElement class

GraphicElement class

Represents base class for graphics object on the page.

class GraphicElement : public System::IDisposable

Methods

MethodDescription
virtual AddOnPage(System::SharedPtr<Page>)Adds current element on the page. If there are many elements to add better use Page::AddGraphics(GraphicElementCollection, Rectangle).
Dispose() overrideReleases all resources used by the GraphicElement class.
get_Matrix() constGets graphic element matrix. The matrix sets when element is created. It changes when SetPosition() is called.
get_Operators() constGets a collection of operators representing the element.
get_Parent() constGets the current XFormPlacement in which the element is located.
virtual get_Position()Gets the position in the current coordinate space. If Parent is not null then the element have xForm coordinate space.
virtual get_Rectangle()Gets the bounding rectangle of the GraphicElement.
get_SourcePage() constGets the page from which the graphic element is extracted.
Remove()Removes current element from the page. If there are many elements to remove better use Page::DeleteGraphics(GraphicElementCollection).
SaveToSvg()Converts the element into a single SVG image.
SaveToSvg(System::String)Converts the element into a single SVG image file.
virtual set_Position(System::SharedPtr<Point>)Sets the position in the current coordinate space. If Parent is not null then the element have xForm coordinate space.

See Also