Skip to content

# PDFXrefEntry

Namespace: O2S.Components.PDF4NET.Core

Defines an entry in the xref table.

    public class PDFXrefEntry

Inheritance Object → PDFXrefEntry

## Constructors

### PDFXrefEntry(Int64, Int32, Char)

Initializes a new PDFXrefEntry object.

    public PDFXrefEntry(long offset, int generation, char type)

Parameters

`offset` Int64

`generation` Int32

`type` Char

### PDFXrefEntry(PDFXrefEntry)

Initializes a new PDFXrefEntry with a source entry.

    public PDFXrefEntry(PDFXrefEntry source)

Parameters

`source` PDFXrefEntry

## Properties

### Generation

Gets the object generation.

    public int Generation { get; }

Property Value

Int32

### Offset

Gets the offset for the object this entry corresponds to.

    public long Offset { get; }

Property Value

Int64

### ReferencedObject

The PDF object this entry refers to.

    public PDFCosObject ReferencedObject { get; set; }

Property Value

PDFCosObject

### Type

Gets the type of this entry.

    public char Type { get; }

Property Value

Char