property MetaText[const Tag: string]: WString; // read only
property Metadata: TPdfDocumentMetadata; // read only
MetaText[Tag]는 표준 또는 사용자 지정 tag 이름을 포함하여 PDFium을 통해 문서 Info 사전에서 UTF-16 값을 읽습니다
Metadata는 Title, Author, Subject, Keywords, Creator, Producer, CreationDate, ModifiedDate를 포함하는 하나의 TPdfDocumentMetadata 스냅샷을 반환합니다
누락된 필드는 빈 문자열로 반환됩니다
MetaText는 catalog의 raw XMP /Metadata stream이 아니라 Info 사전을 읽습니다
var Info: TPdfDocumentMetadata;
begin
Info := Pdf1.Metadata;
Caption := Info.Title + ' — ' + Info.Author;
end;