PDFium Delphi Component Docs

Metadata property

Component: TPdf  ·  Unit: PDFium
All eight document information fields read in one call

Syntax

property Metadata: TPdfDocumentMetadata; // read-only

Description

Returns a record holding Title, Author, Subject, Keywords, Creator, Producer, CreationDate, and ModifiedDate - the document information dictionary of ISO 32000-1 14.3.3

Reading them together costs one pass instead of eight separate property reads, which is what a document list or an export routine wants

The two date fields come back as PDF date strings such as D:20260815120000+08'00'; DecodeDate converts them to TDateTime. XMP metadata is separate and is read with ReadXmpPacket

See Also

MetaText, Title, Author, DecodeDate, ReadXmpPacket