Gets or sets the value indicating how values in XMP Metadata and Document Info should be synchronized.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfMetadataSyncMode MetadataSyncMode { get; set; }
VB
Public Property MetadataSyncMode As PdfMetadataSyncMode
	Get
	Set

Property Value

Type: PdfMetadataSyncMode
The value indicating how values in XMP Metadata and Document Info should be synchronized.

Remarks

Default value: PreferMetadata.

By default, library will synchronize XMP Metadata and Document Info using XMP metadata values from XmpPdfSchema as source of the information. If any of the XmpPdfSchema fields is null then library will use corresponding field of Info as source of the information.

For Author name, for example, library will try Author property first, then Author (if Author is null). After that all fields with similar purpose that are not null (like PdfDocument.Metadata.DublinCore.Creator or PdfDocument.Metadata.Core.Author) will be updated.

See Also