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

    Show / Hide Table of Contents

    PdfDocumentIdentifier Class

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

    Represents an identifier of a PdfDocument.

    • C#
    • VB.NET
    public sealed class PdfDocumentIdentifier : PdfObject
    Public NotInheritable Class PdfDocumentIdentifier
        Inherits PdfObject
    Inheritance:
    Object
    PdfObject
    PdfDocumentIdentifier

    Properties

    Creation

    Gets the permanent identifier based on the contents of the file at the time it was originally created as a Guid value or Empty if CreationBytes cannot be converted to Guid.

    • C#
    • VB.NET
    public Guid Creation { get; }
    Public ReadOnly Property Creation As Guid
    Property Value
    Guid

    The permanent identifier based on the contents of the file at the time it was originally created as a Guid value or Empty if CreationBytes cannot be converted to Guid.

    See Also
    PDF Specification ISO 32000-1:2008, section '14.4 File Identifiers'

    CreationBytes

    Gets the permanent identifier based on the contents of the file at the time it was originally created as a Byte array.

    • C#
    • VB.NET
    public byte[] CreationBytes { get; }
    Public ReadOnly Property CreationBytes As Byte()
    Property Value
    Byte[]

    The permanent identifier based on the contents of the file at the time it was originally created as a Byte array.

    See Also
    PDF Specification ISO 32000-1:2008, section '14.4 File Identifiers'

    Modification

    Gets or sets the changing identifier based on the file’s contents at the time it was last updated as a Guid value or Empty if ModificationBytes cannot be converted to Guid.

    • C#
    • VB.NET
    public Guid Modification { get; set; }
    Public Property Modification As Guid
    Property Value
    Guid

    The changing identifier based on the file’s contents at the time it was last updated as a Guid value or Empty if ModificationBytes cannot be converted to Guid.

    Exceptions
    ArgumentException

    Value is Empty or equal to Creation.

    See Also
    PDF Specification ISO 32000-1:2008, section '14.4 File Identifiers'

    ModificationBytes

    Gets the changing identifier based on the file’s contents at the time it was last updated as a Byte array.

    • C#
    • VB.NET
    public byte[] ModificationBytes { get; }
    Public ReadOnly Property ModificationBytes As Byte()
    Property Value
    Byte[]

    The changing identifier based on the file’s contents at the time it was last updated as a Byte array.

    See Also
    PDF Specification ISO 32000-1:2008, section '14.4 File Identifiers'

    Methods

    ToString()

    Returns a String that represents this PdfDocumentIdentifier instance.

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

    A String that represents this PdfDocumentIdentifier instance.

    Overrides
    Object.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).

    Inherited Properties

    Metadata

    (Optional; PDF 1.4) A metadata stream containing metadata for the component.

    (Inherited from PdfObject)

    Extension Methods

    PdfObjectExtensions.GetDictionary(PdfObject)
    PdfObjectExtensions.GetOrAddDictionary(PdfObject)
    PdfObjectExtensions.GetArray(PdfObject)

    See Also

    Id
    PDF Specification ISO 32000-1:2008, section '14.4 File Identifiers'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.