[]
Defines full ID of PDF object including ID and generation.
public struct PdfObjID : IEquatable<PdfObjID>
Initializes a new instance of the PdfObjID structure.
public PdfObjID(int objID, int gen)
The empty PdfObjID structure.
public static readonly PdfObjID Empty
The object's generation.
public int Gen
The object's id.
public int ID
Determines whether two PdfObjID instances are equal.
public bool Equals(PdfObjID other)
other
PdfObjIDThe object to compare with the current object.
true if the specified object is equal to the current object; otherwise, false.
public override bool Equals(object obj)
obj
objectpublic override int GetHashCode()
Returns a value indicating whether this PdfObjID struct contains empty object ID.
public bool IsEmpty()
public override string ToString()
Converts the string representation of a PdfObjID to a PdfObjID. A return value indicates whether the operation succeeded.
public static bool TryParse(string s, out PdfObjID value)
true if s was converted successfully; otherwise, false.
The equality operator.
public static bool operator ==(PdfObjID v1, PdfObjID v2)
The inequality operator.
public static bool operator !=(PdfObjID v1, PdfObjID v2)