Back to Devexpress

PdfSaveOptions.DisableModDateUpdate Property

officefileapi-devexpress-dot-pdf-dot-pdfsaveoptions-f35461cc.md

latest1.8 KB
Original Source

PdfSaveOptions.DisableModDateUpdate Property

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

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public bool DisableModDateUpdate { get; set; }
vb
Public Property DisableModDateUpdate As Boolean

Property Value

TypeDescription
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

PdfSaveOptions Struct

PdfSaveOptions Members

DevExpress.Pdf Namespace