WINSOFT components and applications

PDF Library for Android

PDF Library for Android

Delphi and C++Builder library for creating, processing and rendering PDF documents.
Download PDF Library for Android 3.4 trial version
Download demo example
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)
Order Winsoft Component Package

FAQ

Why "java.io.FileNotFoundException: open failed: EACCESS (Permission denied)" exception is raised when opening existing PDF file?

You have to request permissions to external storage before using the PDF file:
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 page size when creating new page?

Page := Document.AddPage(TPdfPageSize.A4);
							

How can I change page size?

Page.MediaBox := TPdfPageSize.A4;
							

How can I retrieve text from PDF document?

Text := Document.Text;
							

What files should be deployed to the Android device?

All files from the Library\assets folder have to be deployed to the Android device and the Remote Path has to be set to corresponding assets\... path.

Useful Links

Icon Use the PdfBox-Android Library in Your Delphi/C++Builder FireMonkey Applications

Icon PdfBox-Android