property Creator: WString; // read only
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.
FPDF_SetMetaText)./Creator to mimic well-known tools.
Treat the string as informational only, not as proof of origin.Producer is a useful
grouping key when sorting incoming PDFs by source software.
Pdf1.LoadFromFile(OpenDialog1.FileName);
Memo1.Lines.Add('Authored with: ' + Pdf1.Creator);
Memo1.Lines.Add('PDF engine: ' + Pdf1.Producer);