This properties supports all formats except Email and Html. Width and height are the same for all pages except the Cells formats.
The following code snippet shows how to get information about a document:
// This example demonstrates document info extraction
// Create an instance of Annotator class
Annotatorannotator=newAnnotator("inputPath");try{// Get document info
IDocumentInfoinfo=annotator.getDocument().getDocumentInfo();System.out.println("\nFile type: "+info.getFileType()+"\nNumber of pages: "+info.getPageCount()+"\nDocument size: {2} bytes"+info.getSize());}finally{if(annotator!=null){annotator.dispose();}}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.