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:
    System.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 System.Guid value or System.Guid.Empty if CreationBytes cannot be converted to System.Guid.

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

    The permanent identifier based on the contents of the file at the time it was originally created as a System.Guid value or System.Guid.Empty if CreationBytes cannot be converted to System.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 System.Byte array.

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

    The permanent identifier based on the contents of the file at the time it was originally created as a System.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 System.Guid value or System.Guid.Empty if ModificationBytes cannot be converted to System.Guid.

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

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

    Exceptions
    System.ArgumentException

    Value is System.Guid.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 System.Byte array.

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

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

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

    Methods

    ToString()

    Returns a System.String that represents this PdfDocumentIdentifier instance.

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

    A System.String that represents this PdfDocumentIdentifier instance.

    Overrides
    System.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.