Pdf |
A form XObject is a PDF content stream that is a self-contained description of any sequence of graphics objects (including path objects, text objects, and sampled images).
A form XObject may be painted multiple times—either on several pages or at several locations on the same page—and produces the same results each time, subject only to the graphics state at the time it is invoked.
The PdfForm type exposes the following members.
Name | Description | |
---|---|---|
![]() | BoundingBox | (Required) The form XObject’s bounding box, used to clip the form XObject and to determine its size for caching. |
![]() | Content | Gets the content of the PdfForm. Returns if the PdfForm doesn't have an associated resource dictionary. In that case use either GetContent(PdfContent) to retrieve the read-only content of the PdfForm with PdfContentResources (fonts, images, etc.) resolved from the specified PdfContent or SetResources(PdfContent) method to set PdfContentResources (fonts, images, etc.) from the specified PdfContent to this PdfForm before retrieving the Content property. |
![]() | Size | Gets the form size in the original (untransformed) coordinate system in which Transform is Identity. |
![]() | Transform | (Optional) An array of six numbers specifying the form matrix, which maps form space into user space (see 8.3.4, "Transformation Matrices"). Default value: the identity matrix [1 0 0 1 0 0]. |
Name | Description | |
---|---|---|
![]() | GetContent | Gets the read-only content of the PdfForm with PdfContentResources (fonts, images, etc.) resolved from the specified resourcesProvider. To get the editable content of the PdfForm, use the Content property and, optionally, SetResources(PdfContent) method before it, if the Content property returns . |
![]() | SetBoundingBox | Sets the BoundingBox. |
![]() | SetResources | Sets the PdfContentResources (fonts, images, etc.) from the specified PdfContent to this PdfForm. This method is useful if the Content property returns (if the PdfForm doesn't have an associated resource dictionary). |
Name | Description | |
---|---|---|
![]() | GetArray |
Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) |
![]() | GetDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) |
![]() | GetOrAddDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) |