Re: PDF Processing
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Nov 2007 01:20:39 GMT
On Thu, 15 Nov 2007 13:15:02 GMT, "imranbaseer" <u39085@uwe> wrote,
quoted or indirectly quoted someone who said :
view.setDocumentInputStream(input);
System.out.println(view.getPageCount());
System.out.println(view.getProperty("Default_Zoom_Type"));
I think it unlikely you safely managed to get view.getPageCount() and
then die on view.getProperty.
If view were null, the error would come on view.getPage(Count())
if the property were null, you would simply see the word "null", not a
NullPointerException. Please add some debug code and check the line
number.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- PDF Processing
- From: imranbaseer
- PDF Processing
- Prev by Date: Re: Problem with overlapping custom componets
- Next by Date: Re: PDF Processing
- Previous by thread: PDF Processing
- Next by thread: Re: PDF Processing
- Index(es):
Relevant Pages
|