Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfSaveOptions.DisableModDateUpdate Property

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

Namespace: DevExpress.Pdf

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