Skip to content

PDFFormXObject

Namespace: O2S.Components.PDF4NET.Graphics

Defines a PDF form XObject.

public class PDFFormXObject : O2S.Components.PDF4NET.PDFContentStreamContainer

Inheritance ObjectPDFContentStreamContainerPDFFormXObject

Constructors

PDFFormXObject(Double, Double)

Initializes a new PDFFormXObject object.

public PDFFormXObject(double width, double height)

Parameters

width Double
The width of the form XObject in points.

height Double
The height of the form XObject in points.


Properties

Canvas

Gets the form XObject graphics.

public PDFCanvas Canvas { get; }

Property Value

PDFCanvas
The form XObject graphics surface.


CosDictionary

Gets the COS dictionary asssociated with this object.

public PDFCosDictionary CosDictionary { get; }

Property Value

PDFCosDictionary
The internal COS dictionary.

Remarks

Incorrect manipulation of the information in the COS dictionary can lead to invalid PDF files.


Height

Gets the form XObject height.

public double Height { get; }

Property Value

Double
The form XObject height in points.


Matrix

Gets or sets the form XObject matrix.

public PDFMatrix Matrix { get; set; }

Property Value

PDFMatrix
The matrix applied to form XObject content before it is rendered.


Measure

Gets or sets the image measure.

public PDFMeasure Measure { get; set; }

Property Value

PDFMeasure
A PDFMeasure descendant object that specifies the scale and units which shall apply to the image.


PointData

Gets or sets the point data.

public PDFPointData PointData { get; set; }

Property Value

PDFPointData
A PDFPointData object that specifies the extended geospatial data that shall apply to the image.


StructureElement

Gets or sets the structure element that represents this form XObject.

public PDFStructureElement StructureElement { get; set; }

Property Value

PDFStructureElement
A PDFStructureElement object representing this form XObject.


TransparencyGroup

Gets or sets the transparency group associated with this object.

public PDFGroupXObject TransparencyGroup { get; set; }

Property Value

PDFGroupXObject
The transparency group associated with this object.


Width

Gets the form XObject width.

public double Width { get; }

Property Value

Double
The form XObject width in points.