Namespace: PdfSharp.Pdf
Represents a PDF object identifier, a pair of object and generation number.
public struct PdfObjectID
Inheritance Object → ValueType → PdfObjectID
Implements IComparable
Gets or sets the object number.
public int ObjectNumber { get; }
Gets or sets the generation number.
public int GenerationNumber { get; }
Indicates whether this object is an empty object identifier.
public bool IsEmpty { get; }
Creates an empty object identifier.
public static PdfObjectID Empty { get; }
Initializes a new instance of the PdfObjectID class.
PdfObjectID(int objectNumber)
objectNumber
Int32
The object number.
Initializes a new instance of the PdfObjectID class.
PdfObjectID(int objectNumber, int generationNumber)
objectNumber
Int32
The object number.
generationNumber
Int32
The generation number.
Indicates whether this instance and a specified object are equal.
bool Equals(object obj)
obj
Object
Returns the hash code for this instance.
int GetHashCode()
Returns the object and generation numbers as a string.
string ToString()
Compares the current object id with another object.
int CompareTo(object obj)
obj
Object