PdfIndirectObjectIdentifier Struct
Represents a unique identifier of a PdfIndirectObject in a PDF file.
public struct PdfIndirectObjectIdentifier : IEquatable<PdfIndirectObjectIdentifier>
Public Structure PdfIndirectObjectIdentifier
Implements IEquatable(Of PdfIndirectObjectIdentifier)
Implements
Fields
Undefined
Represents an undefined identifier of a PdfIndirectObject.
public static readonly PdfIndirectObjectIdentifier Undefined
Public Shared ReadOnly Undefined As PdfIndirectObjectIdentifier
Field Value
Properties
GenerationNumber
Gets the generation number.
public readonly int GenerationNumber { get; }
Public ReadOnly Property GenerationNumber As Integer
Property Value
- System.Int32
The generation number.
ObjectNumber
Gets the object number.
Property Value
- System.Int32
The object number.
Methods
Equals(PdfIndirectObjectIdentifier)
Determines whether the specified PdfIndirectObjectIdentifier is equal to this PdfIndirectObjectIdentifier instance.
public bool Equals(PdfIndirectObjectIdentifier other)
Public Function Equals(other As PdfIndirectObjectIdentifier) As Boolean
Parameters
The PdfIndirectObjectIdentifier to compare with this PdfIndirectObjectIdentifier instance.
Returns
- System.Boolean
true if the specified PdfIndirectObjectIdentifier is equal to this PdfIndirectObjectIdentifier instance; otherwise, false.
Equals(Object)
Determines whether the specified System.Object is equal to this PdfIndirectObjectIdentifier instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this PdfIndirectObjectIdentifier instance.
Returns
- System.Boolean
true if the specified System.Object is equal to this PdfIndirectObjectIdentifier instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this PdfIndirectObjectIdentifier instance.
Returns
- System.Int32
A hash code for this PdfIndirectObjectIdentifier instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
ToString()
Returns a System.String that represents this PdfIndirectObjectIdentifier instance.
Returns
- System.String
A System.String that represents this PdfIndirectObjectIdentifier instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Operators
Equality(PdfIndirectObjectIdentifier, PdfIndirectObjectIdentifier)
Determines whether first
and second
PdfIndirectObjectIdentifiers are equal.
public static bool operator ==(PdfIndirectObjectIdentifier first, PdfIndirectObjectIdentifier second)
Public Shared Operator =(first As PdfIndirectObjectIdentifier, second As PdfIndirectObjectIdentifier) As Boolean
Parameters
The first indirect PDF object identifier.
The second indirect PDF object identifier.
Returns
- System.Boolean
true if first
and second
indirect PDF object identifiers are equal; otherwise, false.
Inequality(PdfIndirectObjectIdentifier, PdfIndirectObjectIdentifier)
Determines whether first
and second
PdfIndirectObjectIdentifiers are not equal.
public static bool operator !=(PdfIndirectObjectIdentifier first, PdfIndirectObjectIdentifier second)
Public Shared Operator <>(first As PdfIndirectObjectIdentifier, second As PdfIndirectObjectIdentifier) As Boolean
Parameters
The first indirect PDF object identifier.
The second indirect PDF object identifier.
Returns
- System.Boolean
true if first
and second
indirect PDF object identifiers are not equal; otherwise, false.