Skip to main content
All docs
V25.1
  • PdfSaveOptions.DisableMetadataUpdate Property

    Gets or sets whether to disable all mandatory metadata updates.

    Namespace: DevExpress.Pdf

    Assembly: DevExpress.Pdf.v25.1.Core.dll

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public bool DisableMetadataUpdate { get; set; }

    Property Value

    Type Description
    Boolean

    true to disable mandatory metadata nodes update; otherwise, false.

    Remarks

    The PdfDocumentProcessor.SaveDocument method call always writes the following metadata nodes to a PDF file:

    • xmp:CreateDate
    • xmp:ModifyDate
    • xmp:MetadataDate

    Set the DisableMetadataUpdate property to false and pass the PdfSaveOptions object as the SaveDocument method parameter to disable these metadata nodes updates.

    Use the PdfSaveOptions.DisableCreationDateUpdate property to disable only the xmp:CreateDate node update. The PdfSaveOptions.DisableModDateUpdate property allows you to disable only the xmp:ModifyDate node update.

    See Also