THotPDF.FixPDFMetadata Method

Inspects, adds, or synchronizes common XMP metadata without invoking structural preflight repair

Saved := PDF.FixPDFMetadata(SourceFile, TargetFile, Password,
  mfmAddMissing, FixResult);

Inspect mode never writes, add-missing mode preserves existing values, and synchronise mode aligns common properties with the loaded Info dictionary while keeping unrelated RDF descriptions