Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodCode SnippetComponentDelphiDemoFiremonkeyIOS

View PDF Files Using Native Component With Delphi XE5 Firemonkey On IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE5 Firemonkey Native PDF for IOS | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSThe DPF native component suite for IOS comes with a component called TDPFQLPreviewController and it allows you to view local and remote PDF files within you Delphi XE5 Firemonkey app. The suite comes with an example app called PDF Viewer and shows both loading remote and local files using the component. If you haven’t used the DPF for IOS suite before it actually wraps around native IOS controls just like VCL wraps around native Windows controls for Windows. DPF for IOS implements a custom paint event so you can not combine DPF visual controls with Firemonkey visual controls on the same form. You can however have a Firemonkey form and a DPF form and then switch between them. For example, you could have this PDF viewer component as a seperate form and any time you want to view a PDF you just show the PDF viewer form with the TDPFQLPreviewController component and then hide it again to get back to your normal Firemonkey form. You can do this same trick with WebView and MapView as well. The DPF component suite for IOS is free and available from Sourceforge.

Head over and download the DPF for IOS suite and start viewing your PDF files.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply