PDFium Delphi Component Docs

PDFium VCL Component Features

Core Components

Document Operations

Text Operations

Annotation Support

Form Support

Image Operations

Helper Units

Drawing Operations

Digital Signatures

Attachment Support

Navigation

Rendering

Viewing (TPdfView)

Compression

Security

Printing

Shipped Demos

The Demo\Delphi, Demo\CBuilder, and Demo\Lazarus trees ship runnable sample projects that exercise the live API surface across all three IDE families. Highlights:

The Delphi, C++Builder, and Lazarus regression suites cover 1257 (Pas) / 515 (C++) cases sharing the same fixture PDFs so behavior stays byte-aligned across all three IDE families

Platform Support

Detailed comparison, navigation and optional OCR

Since 3.267.0, source-bound semantic review retains comparison selections and effective page mapping; exact-byte PDF/R validation combines raw and native checks on one snapshot, scan HTML streams through node/text/output/depth budgets, and Enterprise HTML evidence exposes the complete JSON operation context

Since 3.268.0, shared reports support caller-owned output streams and Windows artifact manifests, business inputs use spill-capable snapshots, raster diagnostics identify processed pages and their issues, and Enterprise evidence supports typed/read-only operations and stream byte verification

Business document workflows combine owned-input scan processing, structured/reflow outputs, semantic-review JSON/HTML and XFA migration assessment in Small Business; Enterprise adds cross-workflow byte identity and context evidence

Form merge supports repeated selected pages through independent or compatible shared passes, with persistent checkbox/radio states, bounded font matching and reused compatible font objects

Document assets reads and writes Collection schema, typed values, embedded files and presentation settings, and discovers RichMedia resources with page/annotation provenance without executing scripts or retrieving external files

Existing-font optimization combines explicit CIDToGIDMap coverage across shared embedded TrueType programs, preserves composite dependencies and glyph IDs, and reports uncertain resources while producing an actually smaller rebuilt PDF

Existing structure editing changes roles and metadata, inserts containers and reorders nodes while retaining nested Form, annotation and widget references; Enterprise reviewed tagging can supplement unmarked top-level objects in an existing tree while preserving declared ParentTree ownership, annotations and widgets

(Small Business and Enterprise editions) Semantic comparison optionally compares standard document metadata and internal link destinations through mapped page identities, independently of appearance pixels

Aligned comparison identifies inserted, deleted and moved pages, with optional similarity matching for moved-and-modified text pages, bounded Unicode text changes and multiple visual regions; overlays make those changes exportable

Transactional navigation merge retains outline hierarchy, styles, URI actions and remapped page destinations through selected and reordered page imports

Optional Tesseract OCR adds searchable text to scanned pages with explicit dependency diagnostics, cancellation and resource budgets (Small Business and Enterprise editions)

Forms and barcode providers

Transactional selected-page AcroForm merging supports explicit name policies and resource isolation; the optional barcode provider generates Code128, QR, DataMatrix and PDF417 and recognizes grayscale images

Reviewed text resource repair embeds supplied TrueType programs, writes explicit ToUnicode and ActualText mappings, isolates shared font descriptors and verifies native persistence and pixels

(Enterprise edition) Concrete document repair providers integrate complete color conversion and reviewed structure edits with exact-byte postvalidation, stable object-identity ordering and cancellation-safe rollback

RTL-only document core provides owned native snapshots, Unicode text, raw BGRA pixels and staged page operations without VCL/LCL or Graphics; TPdf.CreateCoreSnapshot integrates the classic component and pins its native module

Original image component decoding converts DCT/JPX source channels through ICC profiles without a rendered RGB round trip, including bounded JPX sources up to 24-bit precision, embedded or shared colour/opacity channels and four-component CMYK

Styled paragraph reflow measures mixed-style words, wraps inside reviewed bounds, supports left/center/right alignment and verifies saved order, text and pixels

Owned Form paragraph reflow selects local child text explicitly, retains original internal stream and MCR/ParentTree identities, preserves nonselected owned peers and supports separate local/page/structure semantic reviews through repeated full saves

Saved shaped paragraph sources expose actual glyph-style paths and logical line anchors for repeated horizontal Arabic or mixed Hebrew/Arabic/Latin reshaping, preserving source typography and existing mapped structure ownership

Owned paragraph source inspection follows the selected deepest Form and local indexes, sharing the editing workflow's source and structure checks, preserving caller state and reserving the remaining work budget for style and logical-text reads

Styled editing supports independent nested Form instance origins, selected ordinary per-Do child-object batches with bounded nested invocation paths and preserved external semantic ownership, reviewed unique-MCID text with maintained ActualText, and preserved character/word spacing with native pixel checks

Reviewed shared Form structure repair assigns independent streams and ParentTree namespaces to internally tagged page invocations, retaining explicit logical owners, original graphics and structure metadata through full native saves

Internal Form object batches edit qualified unique streams and ordinary containers with owned peers while preserving their original object identities, namespace bindings, complete local declarations and independent shared resources