How to save a PDF to NSData?

26 views
Skip to first unread message

Ryan

unread,
Dec 6, 2016, 3:14:06 PM12/6/16
to PDFTron PDFNet SDK
Question:
I want to avoid writing to disk. How can I save a PDF to a NSData object on iOS?

Similar for Android, how do I save to a byte[]?

Answer:

iOS: PTPDFDoc SaveToBuf

Android: PDFDoc Save

Windows Mobile: PDFDoc.SaveToBufferAsync


Reply all
Reply to author
Forward
0 new messages