Skip to main content
A newer version of this page is available. .
All docs
V21.1
.NET Framework 4.5.2+

PdfSaveOptions.DisableModDateUpdate Property

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

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.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