PDFium Component Suite for FireMonkey

PDFium Component Suite for FireMonkey

PDFium PDFium
PDFium
Delphi and C++ Builder components for viewing, navigating, text extracting and editing PDF files.
  • uses PDFium open-source PDF rendering engine
  • supports Windows, macOS, Linux, iOS and Android
  • available for Delphi/C++ Builder XE2 - 12
  • source code included in registered version
  • royalty free distribution in applications

Download and order

FAQ

How can I open PDF from memory?
var PdfContent: TArray<Byte>; // PDF content
PdfContent := TFile.ReadAllBytes('file.pdf'); // read PDF content from file to memory
FPdf.LoadDocument(PdfContent, Length(PdfContent)); // load PDF from memory data
							
How can I fix "File not found or could not be opened" exception?
PDF file names containing non-ascii characters have to be renamed or PDF files can be opened from memory using the TFPdf.LoadDocument method.

How can I fix "[DCC Error] E2597 ld: file not found: libpdfium.a" error?
Set "Search path" in Delphi "Project Options" dialog window to libpdfium.a file accordingly to the selected target:
Android 32-bit
C:\Program Files (x86)\Winsoft\PDFium Component Suite for FireMonkey\Library\Android32
Android 64-bit
C:\Program Files (x86)\Winsoft\PDFium Component Suite for FireMonkey\Library\Android64
iOS Device 64-bit
C:\Program Files (x86)\Winsoft\PDFium Component Suite for FireMonkey\Library\iOSDevice64

Related links