The following Java code example creates a com.adobe.idp.Document object
that is based on a java.io.InputStream object.
Creating a document based on an InputStream object//Create a Document object based on an InputStream object
InputStream is = new FileInputStream("C:\\Map.pdf");
Document myPDFDocument = new Document(is);
|
|
|