PDFium Delphi Component Docs

MetaText 속성

컴포넌트: TPdf  ·  유닛: PDFium
document XMP metadata packet를 wide string으로 반환합니다

구문

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 스냅샷을 반환합니다

누락된 필드는 빈 문자열로 반환됩니다

참고 사항

예제

var Info: TPdfDocumentMetadata;
begin
  Info := Pdf1.Metadata;
  Caption := Info.Title + ' — ' + Info.Author;
end;

관련 항목

Author, Title, Subject, Creator, Producer