hi all,
i have to get the number of pages for a pdf document using java.
i checked in java pdf api library but i have not get the correct idea. can anybody help for my work pls.
if u have code for that na pls send me.
advance thanks
hidash.......
hidash_in
-9
Junior Poster in Training
Recommended Answers
Jump to PostWhat "java pdf library" did you check and provide the code for the way you checked it, because iText can do this easily. Although I don't really know why you need to know the number of pages in order to simply feed the document to a browser (which is what …
Jump to PostWhat error?
And where is the import for Viewer?
Don't tell me that you are trying to use the same package that the iText classes use, and so you think you can reference their classes without an import.
It doesn't work that way. Put your classes in …
All 7 Replies
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
hidash_in
-9
Junior Poster in Training
hidash_in
-9
Junior Poster in Training
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Acidburn
0
Posting Pro
hidash_in
-9
Junior Poster in Training
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.