XFormPlacement
Overview
XFormPlacement is a class in Aspose.PDF FOSS for .NET.
Inherits from: GraphicElement.
A Form XObject invocation (Do) found in a content stream.
This class declares 5 methods for XFormPlacement objects in .NET programs.
Available methods include: AddOnPage, GraphicElement, Remove, SaveToSvg.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Elements, Name, Operators, Position, Rectangle, SourcePage.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read | The XObject resource name (e.g. |
Elements | GraphicElementCollection | Read | The form’s own painted elements, in form-space coordinates. |
Rectangle | Rectangle | Read | Gets the rectangle. |
Position | Point | Read/Write | The placement’s page-space anchor. |
SourcePage | Page? | Read | The page this element was absorbed from; a form’s child answers its form’s page. |
Operators | List<Operator> | Read | The content-stream operators that draw this element: a path’s construction operators and the operator that paints it; for a form placement, those of every element it holds. |
Methods
| Signature | Description |
|---|---|
GraphicElement() | Creates an empty graphic element that draws nothing and has an empty bounding box. |
AddOnPage(page: Page) | Append this element’s geometry to page’s content (the single-element form of AddGraphics(GraphicElementCollection)). |
Remove() | Remove this element from its source page. |
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()). |