GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfIndirectObjectIdentifier Struct

    Namespace:
    GemBox.Pdf.Objects
    Assembly:
    GemBox.Pdf.dll

    Represents a unique identifier of a PdfIndirectObject in a PDF file.

    • C#
    • VB.NET
    public struct PdfIndirectObjectIdentifier : IEquatable<PdfIndirectObjectIdentifier>
    Public Structure PdfIndirectObjectIdentifier
        Implements IEquatable(Of PdfIndirectObjectIdentifier)
    Implements
    System.IEquatable<PdfIndirectObjectIdentifier>

    Fields

    Undefined

    Represents an undefined identifier of a PdfIndirectObject.

    • C#
    • VB.NET
    public static readonly PdfIndirectObjectIdentifier Undefined
    Public Shared ReadOnly Undefined As PdfIndirectObjectIdentifier
    Field Value
    PdfIndirectObjectIdentifier

    Properties

    GenerationNumber

    Gets the generation number.

    • C#
    • VB.NET
    public readonly int GenerationNumber { get; }
    Public ReadOnly Property GenerationNumber As Integer
    Property Value
    System.Int32

    The generation number.

    ObjectNumber

    Gets the object number.

    • C#
    • VB.NET
    public readonly int ObjectNumber { get; }
    Public ReadOnly Property ObjectNumber As Integer
    Property Value
    System.Int32

    The object number.

    Methods

    Equals(PdfIndirectObjectIdentifier)

    Determines whether the specified PdfIndirectObjectIdentifier is equal to this PdfIndirectObjectIdentifier instance.

    • C#
    • VB.NET
    public bool Equals(PdfIndirectObjectIdentifier other)
    Public Function Equals(other As PdfIndirectObjectIdentifier) As Boolean
    Parameters
    other
    PdfIndirectObjectIdentifier

    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.

    • C#
    • VB.NET
    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
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this PdfIndirectObjectIdentifier instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    A hash code for this PdfIndirectObjectIdentifier instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns a System.String that represents this PdfIndirectObjectIdentifier instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this PdfIndirectObjectIdentifier instance.

    Overrides
    System.ValueType.ToString()
    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.

    • C#
    • VB.NET
    public static bool operator ==(PdfIndirectObjectIdentifier first, PdfIndirectObjectIdentifier second)
    Public Shared Operator =(first As PdfIndirectObjectIdentifier, second As PdfIndirectObjectIdentifier) As Boolean
    Parameters
    first
    PdfIndirectObjectIdentifier

    The first indirect PDF object identifier.

    second
    PdfIndirectObjectIdentifier

    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.

    • C#
    • VB.NET
    public static bool operator !=(PdfIndirectObjectIdentifier first, PdfIndirectObjectIdentifier second)
    Public Shared Operator <>(first As PdfIndirectObjectIdentifier, second As PdfIndirectObjectIdentifier) As Boolean
    Parameters
    first
    PdfIndirectObjectIdentifier

    The first indirect PDF object identifier.

    second
    PdfIndirectObjectIdentifier

    The second indirect PDF object identifier.

    Returns
    System.Boolean

    true if first and second indirect PDF object identifiers are not equal; otherwise, false.

    Implements

    System.IEquatable<T>

    See Also

    PDF Specification ISO 32000-1:2008, section '7.3.10 Indirect Objects'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.