RAD Studio 10.4.1 is now available! Learn more. 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. 

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!


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

About author

Software Developer | B.Tech-CSE at AUT | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified | Udacity Alumni
Related posts
DelphiShowcase

Wildly Popular Inno Setup Is A Free Installer For Windows Built In Delphi

C++CodeDelphi

Learn To Build A Python GUI For Working With The Numpy Library In A Delphi Windows App

C++DelphiRAD Studio

Speed Up FireMonkey Layout Construction And Painting Performance With These Tips

C++Code

Learn About Using Right Angle Brackets In This C++11 Feature For Windows Development

Leave a Reply

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

IN THE ARTICLES