doc = new Document(dataDir + “input.pdf”);<o:p></o:p>
Document doc2 = new Document();
ByteArrayOutputStream dstStream = new ByteArrayOutputStream();
ByteArrayInputStream srcStream = new ByteArrayInputStream(dstStream.toByteArray());
// Supply bytes of particular page
doc2 = new Document(srcStream);
In case if you need any further assistance, please feel free to contact us.
Thanks guys. I was referring to the just loading the bytes for the page (along with maybe the linearized dictionary). I was afraid that it wasn’t possible. We’ll explore other routes. Thanks again for the reply!