Hi members,
I am in PDF Processing...When i tried to execute the following code
,it
thows NULLPOINTER exception...The exception occured at this line
System.out.
println(view.getProperty("Default_Zoom_Type"));..... I dont know how to
solve
tis.....Please refer the following code and give me the solution for
this.....
Thank in advance...
im****t com.adobe.acrobat.Viewer;
im****t java.io.*;
public class PdfCheck1{
public static void main(String ar[])throws Exception{
Viewer view = new Viewer();
InputStream input = new FileInputStream("E:\\Imran\\PRO\\PDF\\
ListofPages.
pdf");
view.setDo***entInputStream(input);
System.out.println(view.getPageCount());
System.out.println(view.getProperty("Default_Zoom_Type"));
}
}
with regards,
J.Imran Baseer.