GraphicElement
Overview
GraphicElement is a class in Aspose.PDF FOSS for .NET.
Single vector-graphics element (path segment, image, text run) extracted from a PDF content stream.
This class provides 2 methods for working with GraphicElement objects in .NET programs.
Available methods include: SaveToSvg.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Position, Rectangle.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Rectangle | Rectangle | Read | Gets the rectangle. |
Position | Point | Read/Write | The element’s page-space anchor (the lower-left corner of its bounding box). |
Methods
| Signature | Description |
|---|---|
SaveToSvg() | Render this element alone as a standalone SVG document sized to its bounding box (CSS pixels, 1pt = 4/3 px). |
SaveToSvg(svgFilePath: string) | Render this element alone to an SVG file (see SaveToSvg()). |