generate and save pdf
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
generate and save pdf
Is there a way to generate a pdf file and save it in the app directory on iOs?
Re: generate and save pdf
Hi,
It is possible to create an external for this. It might also be possible to use Qartam's PDF library.
Kind rgards,
Mark
It is possible to create an external for this. It might also be possible to use Qartam's PDF library.
Kind rgards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: generate and save pdf
Yes, the is supported directly in LC (no third party needed). In your standalone iOS settings, select PDF Printing.
Populate a card with the content you want in the PDF, set your destination folder, then use:
open printing to PDF "myPDF.pdf"
print this card
close printing
But, be aware that as of LC 5.0.2 there's a bug that will cause your app to fail silently if there are any Graphic Effects on the card.
Populate a card with the content you want in the PDF, set your destination folder, then use:
open printing to PDF "myPDF.pdf"
print this card
close printing
But, be aware that as of LC 5.0.2 there's a bug that will cause your app to fail silently if there are any Graphic Effects on the card.
Re: generate and save pdf
Thank you all for your reply.
I did figured out that the normal print to PDF works. Thanks again for the great tips
I did figured out that the normal print to PDF works. Thanks again for the great tips