Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
DelphiTech Partner

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

Intro

With the PDF Library for Android by WINSOFT, you can create, process, and render PDF documents in your Delphi/C++ Builder FireMonkey Android applications.

The PDF Library for Android by WINSOFT uses the PdfBox-Android library. So, this is our main library here. Because the PdfBox-Android library offers full control over PDF documents. 

The library by the WINSOFT allows us to easily talk with the PdfBox-Android library. You may use IDE Software to integrate the PdfBox-Android library for full optimization and control of PDF documents when creating Android applications.

Specifications

  • Uses PdfBox-Android library
  • Available for Delphi/C++ Builder 10 – 10.4

Overview

The first thing is to configure the library into your RAD Studio. Please, follow this short tutorial if you don’t have a component/library installing/configuring experience!

Also, watch see this demo action video that shows how this PDF library works in a Delphi FireMonkey application

Development

Every Android application runs in a limited sandbox. If an application needs permission to do something inside Android OS, you should get permission.

Requesting permission is easy in Delphi/C++ Builder FireMonkey. So, you should request a write external storage permission and then you can start processing PDF documents.

Here is our CreatePdf procedure which initializes PDF library, creates a Pdf Document object, adds a new page, and creates a content stream.

You have many features that you can use, for instance:

  • Adding Text Content
  • Utilize Unicode Font
  • Draw Lines
  • Draw Shapes

Head over and check out the full WINSOFT PDF Library for Android

Like what you see? You can get PDF Library for Android and over 100 other fantastic WinSoft components with our Enterprise Component Pack. For a limited time, when you purchase RAD Studio Enterprise or Architect Edition at special Upgrade Pricing, you will also get this package of third-party software worth over $13,000, including the full WinSoft Component Library, at NO EXTRA COST! Step up to RAD Studio 10.4.1 today!

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | CS(CyberSec) Undergrad at APU Malaysia | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES