Skip to content

# PDFPageOptionalContent

Namespace: O2S.Components.PDF4NET.Content

Defines the graphic optional content of a PDF page.

    public class PDFPageOptionalContent : O2S.Components.PDF4NET.Graphics.PDFPageContent

Inheritance Object → PDFContentStreamContainer → PDFFormXObject → PDFPageContent → PDFPageOptionalContent

Remarks

The graphic optional content of a PDF page is like a vector image that can be drawn on another page graphics surface.

## 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 or sets the height of the page content.

    public double Height { get; }

Property Value

Double
The height of the page content.

### 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.

### SeparationInfo

Gets the separation information associated with the page.

    public PDFSeparationInfo SeparationInfo { get; internal set; }

Property Value

PDFSeparationInfo
A PDFSeparationInfo object specifying the separation information for the page.

### 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 width of the page content.

    public double Width { get; }

Property Value

Double
The width of the page content.