
PDF Library for Android
A powerful library for Delphi and C++Builder that enables seamless
creation, processing, and rendering of PDF documents.
- Built on the robust PdfBox-Android library
- Compatible with Delphi/C++Builder versions 10.4 - 13
- Royalty-free distribution in your applications
Order PDF Library for Android $80 USD (license for one developer)
Order PDF Library for Android multi-license $240 USD (license for all developers in company)
Order PDF Library for Android year upgrades $40 USD (registered users only)
Order PDF Library for Android year upgrades multi-license $120 USD (registered multi-license users only)
FAQ
Why does the exception "java.io.FileNotFoundException: open failed: EACCESS (Permission denied)" occur when opening an existing PDF file?
This exception typically indicates that your application does not have the required permission to access external storage.uses System.Permissions, Androidapi.JNI.Os, ... ... PermissionsService.RequestPermissions( [JStringToString(TJManifest_permission.JavaClass.READ_EXTERNAL_STORAGE)], procedure(const APermissions: TArray; const AGrantResults: TArray ) var PermissionGranted: Boolean; begin PermissionGranted := (Length(AGrantResults) = 1) and (AGrantResults[0] = TPermissionStatus.Granted); ... end); ...
How can I specify the page size when creating a new PDF page?
You can set the desired page size by passing a predefined constant from the TPdfPageSize enumeration when adding a new page:Page := Document.AddPage(TPdfPageSize.A4);
How can I change the page size of an existing PDF page?
You can modify the page size by setting the MediaBox property to a predefined value from the TPdfPageSize enumeration:Page.MediaBox := TPdfPageSize.A4;
How can I retrieve text from a PDF document?
You can extract the text content of a PDF document using the Text property of the Document object:Text := Document.Text;