Back to Devexpress

PdfSaveOptions.DisableMetadataUpdate Property

officefileapi-devexpress-dot-pdf-dot-pdfsaveoptions-55714ac3.md

latest1.9 KB
Original Source

PdfSaveOptions.DisableMetadataUpdate Property

Gets or sets whether to disable all mandatory metadata updates.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

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

Property Value

TypeDescription
Boolean

true to disable mandatory metadata nodes 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 DisableMetadataUpdate property to false and pass the PdfSaveOptions object as the SaveDocument method parameter to disable these metadata nodes updates.

Use the PdfSaveOptions.DisableCreationDateUpdate property to disable only the xmp:CreateDate node update. The PdfSaveOptions.DisableModDateUpdate property allows you to disable only the xmp:ModifyDate node update.

See Also

PdfSaveOptions Struct

PdfSaveOptions Members

DevExpress.Pdf Namespace