Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
PDFTron SDK
Conversations
Labels
About
How to save a PDF to NSData?
26 views
Windows
android
iOS
mobile
save
Skip to first unread message
Ryan
unread,
Dec 6, 2016, 3:14:06 PM
12/6/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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