Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Softwaretools > PDF Processing
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3135 of 3241
Post > Topic >>

PDF Processing

by "imranbaseer" <u39085@[EMAIL PROTECTED] > Nov 15, 2007 at 01:16 PM

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.
 




 1 Posts in Topic:
PDF Processing
"imranbaseer" &  2007-11-15 13:16:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:19:30 CDT 2008.