Aspose::Pdf::Vector::SubPath class

SubPath class

Represents vector graphics object on the page. Basically, vector graphics objects are represented by two groups of SubPaths. One of them is represented by a set of lines and curves. Others are presented as rectangles and can sometimes be confused. Usually it is a rectangular area that has a color, but very often this rectangle is placed at the beginning of the page and defines the entire space of the page in white. So you get the SubPath, but visually you only see the text on the page.

class SubPath : public Aspose::Pdf::Vector::GraphicElement

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.
get_Rectangle() overrideGets 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