ObjectKey

Overview

ObjectKey is a struct in Aspose.PDF FOSS for .NET. Inherits from: IEquatable<ObjectKey>.

Identifies a PDF indirect object by its object number and generation number.

This struct provides 5 methods for working with ObjectKey objects in .NET programs. Available methods include: Equals, GetHashCode, ObjectKey, ToString. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Empty, Generation, Number.

Properties

NameTypeAccessDescription
NumberlongReadThe PDF object number.
GenerationlongReadThe PDF generation number.
EmptyObjectKeyReadDefault key with both fields set to zero.

Methods

SignatureDescription
ObjectKey(number: long, generation: long)Calls ObjectKey on this ObjectKey instance.
Equals(other: ObjectKey)Calls Equals on this ObjectKey instance.
Equals(obj: object?)
GetHashCode()Calls GetHashCode on this ObjectKey instance.
ToString()Calls ToString on this ObjectKey instance.

See Also