MetadataSyncMode Enum
Lists values that specify how to synchronize metadata between document information and XMP metadata.
Declaration
public enum MetadataSyncMode extends Enum<MetadataSyncMode> implements IIntEnum
Members
| Name | Description |
|---|---|
AUTO
|
Synchronizes metadata automatically. If a property exists in both formats, the XMP metadata value takes precedence. |
INFO_TO_XMP
|
Copies basic document information to the corresponding XMP metadata properties. If a property exists in both formats, the basic information value is used. |
XMP_TO_INFO
|
Copies XMP metadata to the corresponding basic document information properties. If a property exists in both formats, the XMP metadata value is used. |
fromValue(int value)
|
Returns a metadata synchronization mode that corresponds to the specified integer value. |
getName()
|
Returns the name of this metadata synchronization mode. |
getValue()
|
Returns the integer value of this metadata synchronization mode. |
toString()
|
Returns the string representation of this metadata synchronization mode. |
valueOf(String name)
|
Returns the metadata synchronization mode with the specified name. |
values()
|
Returns an array that contains all metadata synchronization modes. |
Remarks
Specify synchronization options when you load or save a PDF document, or call the DocumentMetadata.synchronize() method to synchronize metadata manually.
Refer to the following help topic for additional information: Synchronize Document Properties and XMP Metadata.