Table of Contents

Struct IndirectReference

Namespace
UglyToad.PdfPig.Core
Assembly
UglyToad.PdfPig.Core.dll

Used to uniquely identify and refer to objects in the PDF file.

public struct IndirectReference
Inherited Members

Constructors

IndirectReference(long, int)

Create a new IndirectReference

public IndirectReference(long objectNumber, int generation)

Parameters

objectNumber long

The object number.

generation int

The generation number.

Properties

Generation

A non-negative integer generation number which starts as 0 and increases if the file is updated incrementally.

public readonly int Generation { get; }

Property Value

int

ObjectNumber

A positive integer object number.

public readonly long ObjectNumber { get; }

Property Value

long

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string