Class CrossReferenceTable
- Namespace
- UglyToad.PdfPig.CrossReference
- Assembly
- UglyToad.PdfPig.dll
The cross-reference table contains information that enables random access to PDF objects within the file by object number so that specific objects can be located directly without having to scan the whole document. A PDF document may contain multiple cross reference tables, this class provides access to the merged result with the latest offset for each object. The offsets of the original cross reference tables or streams merged into this result are available in the CrossReferenceOffsets list.
public class CrossReferenceTable
- Inheritance
-
CrossReferenceTable
- Inherited Members
Properties
CrossReferenceOffsets
The byte offsets of each cross-reference table or stream in this document and the previous table or stream they link to if applicable.
public IReadOnlyList<CrossReferenceTable.CrossReferenceOffset> CrossReferenceOffsets { get; }
Property Value
ObjectOffsets
The corresponding byte offset for each keyed object in this document.
public IReadOnlyDictionary<IndirectReference, long> ObjectOffsets { get; }
Property Value
Trailer
The trailer dictionary.
public TrailerDictionary Trailer { get; }
Property Value
Type
The type of the first cross-reference table located in this document.
public CrossReferenceType Type { get; }