PDF Processing
- From: "imranbaseer" <u39085@uwe>
- Date: Thu, 15 Nov 2007 13:15:02 GMT
Hi members,
I am 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...
import com.adobe.acrobat.Viewer;
import 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.setDocumentInputStream(input);
System.out.println(view.getPageCount());
System.out.println(view.getProperty("Default_Zoom_Type"));
}
}
with regards,
J.Imran Baseer.
.
- Follow-Ups:
- Re: PDF Processing
- From: Roedy Green
- Re: PDF Processing
- Prev by Date: Re: Problem with overlapping custom componets
- Next by Date: drag and drop in a JMenu/JMenuItem
- Previous by thread: Problem with overlapping custom componets
- Next by thread: Re: PDF Processing
- Index(es):
Relevant Pages
|