I'm working on a port of a Delphi app to OSX using FireMonkey. Part of the app displays PDF's, currently using the Acrobat viewer control or Gnostice components under Windows. These options aren't available in FireMonkey for OSX, so I was wondering if anyone had any ideas how to handle this. I have used the Quartz PDFKit PDFView in a Cocoa app but can't see how I could use this in a FireMonkey app.
To answer my own question, Chris Rolliston has a detailed article on his blog about creating a FireMonkey PDF viewer. It uses Core Graphics native calls, and has example code for page scrolling and rotation. An excellent start for anyone who needs to do this kind of thing. It was written for XE2 so some things may have changed since.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With