Skip to content

# PDFObjectReference

Namespace: O2S.Components.PDF4NET.LogicalStructure

Defines a reference to a PDF object.

    public class PDFObjectReference : IPDFStructureElementContent

Inheritance Object → PDFObjectReference
Implements IPDFStructureElementContent

Remarks

An object reference is used when a structure element's content consists of an entire PDF object, such as an XObject directly or indirectly referenced by a page description or an annotation

## Constructors

### PDFObjectReference()

Initializes a new PDFObjectReference object.

    public PDFObjectReference()

## Properties

### CosContent

Gets the content of this object.

    public PDFCosObject CosContent { get; }

Property Value

PDFCosObject

### Page

Gets or sets the PDF page that contains the referenced object.

    public PDFPage Page { get; set; }

Property Value

PDFPage
The PDFPage on which the object shall be rendered.

### Stream

Gets or sets the referenced object.

    public PDFCosDictionaryContainer Stream { get; set; }

Property Value

PDFCosDictionaryContainer
The PDF object that represents the content of the structure element.