Skip to content

# PDFCosIndirectReference

Namespace: O2S.Components.PDF4NET.Core.Cos

Defines a PDF COS indirect reference.

    public class PDFCosIndirectReference : PDFCosObject

Inheritance Object → PDFCosObject → PDFCosIndirectReference

## Constructors

### PDFCosIndirectReference()

Initializes a new PDFCosIndirectReference object.

    public PDFCosIndirectReference()

### PDFCosIndirectReference(Int32, Int32)

Initializes a new PDFCosIndirectReference object.

    public PDFCosIndirectReference(int objectNumber, int generationNumber)

Parameters

`objectNumber` Int32
The number of the referenced object.

`generationNumber` Int32
The generation.

## Properties

### GenerationNumber

Gets or sets the generation number of referenced object.

    public int GenerationNumber { get; set; }

Property Value

Int32

### ObjectNumber

Gets or sets the number of referenced object.

    public long ObjectNumber { get; set; }

Property Value

Int64

### Type

Gets the object type.

    public PDFCosObjectType Type { get; }

Property Value

PDFCosObjectType

## Methods

### ToString()

Returns a String that represents the current Object.

    public string ToString()

Returns

String
String that represents the current Object.