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

    Gets or sets whether to disable the xmp:ModifyDate metadata node update.

    Namespace: DevExpress.Pdf

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

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public bool DisableModDateUpdate { get; set; }

    Property Value

    Type Description
    Boolean

    true to disable metadata node 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 DisableModDateUpdateproperty to false and pass the PdfSaveOptions object as the SaveDocument method parameter to disable the xmp:ModifyDate node update.

    The PdfSaveOptions.DisableCreationDateUpdate property allows you to disable only the xmp:CreateDate node update. Use the PdfSaveOptions.DisableMetadataUpdate property to disable all mandatory metadata nodes updates.

    See Also