PDFiumVCL Docs

Creator property

Denna API-post behåller identifierare, signaturer, kodblock och PDF-termer i ursprunglig form.
Component: TPdf  ·  Unit: PDFium
Name of the originating authoring application stored in the Info dictionary.

Syntax

property Creator: WString; // read only

Description

Creator returns the /Creator entry from the document Information dictionary (PDF 1.7 spec section 14.3.3). By convention this field identifies the application that produced the original document — e.g. Microsoft Word, LibreOffice Writer, Adobe InDesign — while Producer identifies the software that converted that source into the final PDF (typically a PDF library like Adobe PDF Library, GPL Ghostscript, PDFium, etc.).

The return value is decoded UTF-16 (WString), so non-ASCII names such as “Microsoft® Word for Microsoft 365” or full CJK product names are preserved verbatim. The string is empty when Active is False, when the Info dictionary is missing, or when the PDF was generated without a /Creator entry (perfectly legal: the field is optional).

Newer PDFs may also carry the same information in XMP metadata (xmp:CreatorTool); when both are present they should agree but historically drift apart after multiple edit/save cycles. PDFiumVCL only surfaces the Info-dictionary copy through this property — access MetaText['CreatorTool'] if you need the XMP version explicitly.

Remarks

Example

Pdf1.LoadFromFile(OpenDialog1.FileName);
Memo1.Lines.Add('Authored with: ' + Pdf1.Creator);
Memo1.Lines.Add('PDF engine: ' + Pdf1.Producer);

See Also

Producer, Author, Title, MetaText