property MetaText[const Tag: string]: WString; // read only
property Metadata: TPdfDocumentMetadata; // read only
MetaText[Tag] は PDFium を通じて文書の Info 辞書から UTF-16 の値を読み取ります。標準タグ名もカスタムタグ名も扱えます
Metadata は Title、Author、Subject、Keywords、Creator、Producer、CreationDate、ModifiedDate を含む 1 つの TPdfDocumentMetadata スナップショットを返します
存在しないフィールドは空の文字列として返されます
MetaText は Info 辞書を読み取るものであり、カタログの生の XMP /Metadata ストリームではありません
var Info: TPdfDocumentMetadata;
begin
Info := Pdf1.Metadata;
Caption := Info.Title + ' — ' + Info.Author;
end;