Is there a way to create a PDFDoc from in memory byte array?

21 views
Skip to first unread message

debaditya bhattacharyya

unread,
Jun 29, 2016, 2:42:30 PM6/29/16
to PDFTron PDFNet SDK
Hi,
We have a pdf content received from the response. We want to create a PDFDoc instance out of it without writing it to a temp file. Is there a way to do this in Ruby using PDFNet SDK.

Aaron

unread,
Jun 29, 2016, 8:06:22 PM6/29/16
to PDFTron PDFNet SDK
You can find sample Ruby code for instantiating a PDFDoc from a memory buffer at https://github.com/PDFTron/PDFNetWrappers/blob/master/Samples/PDFDocMemoryTest/RUBY/PDFDocMemoryTest.rb.

Support

unread,
Jun 29, 2016, 8:09:46 PM6/29/16
to PDFTron PDFNet SDK
Reply all
Reply to author
Forward
0 new messages