PdfSaveOptions.DisableMetadataUpdate Property
Gets or sets whether to disable all mandatory metadata updates.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
#Property Value
Type | Description |
---|---|
Boolean |
|
#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.