Back to Devexpress

PdfSaveOptions.DisableCreationDateUpdate Property

officefileapi-devexpress-dot-pdf-dot-pdfsaveoptions-7c6e7bd9.md

latest1.8 KB
Original Source

PdfSaveOptions.DisableCreationDateUpdate Property

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

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public bool DisableCreationDateUpdate { get; set; }
vb
Public Property DisableCreationDateUpdate 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 DisableCreationDateUpdateproperty to false and pass the PdfSaveOptions object as the SaveDocument method parameter to disable the xmp:CreateDate node update.

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

See Also

PdfSaveOptions Struct

PdfSaveOptions Members

DevExpress.Pdf Namespace