View PDFs On iOS With This Powerful Native PDF Library For Delphi FireMonkey By Winsoft
- Introduction
Native PDF library supports iOS only. It uses PDFKit framework. In the next short you will find installation instructions on how to add the library in the Rad Studio.
2. Components in the Demo and what they do.

This Demo does not contain any components in Design-time. Very simple project which executes the main code in the FormCreate event, as well as FormResize Event, in which the PDF can be resized – zoomed in, zoomed out, moved in all directions. The Native PDF Library is used in the FormCreate event. TNatPdfDocument object is created , which constructor needs the Filename as a parameter, as well as password. The password is empty by default. The result is pdf document, shown in the app. The pdf file itself needs to be located in the project src folder and deployed in the Project with Remote Path: StartUpDocuments.
The executed code in the Demo can be found below:
procedure TFormMain.FormCreate(Sender: TObject); begin PdfDocument := TNatPdfDocument.Create(TPath.Combine(TPath.GetDocumentsPath, 'This_Quantum_World.pdf')); PdfView := TNatPdfView.Create(PdfDocument, Self); FormResize(Self); end; procedure TFormMain.FormResize(Sender: TObject); begin if PdfView <> nil then PdfView.BoundsRect := ClientRect; end;
In a short video you will see the Demo in action, reading PDF document with zoom in, zoom out, etc.
The Demo can be found and downloaded from the link below:
Head over and download the library for viewing PDFs on iOS from WINSOFT.
Leave Your Comment