Hi All, Thanks in advance. In our application we are creating PDF at runtime in J2EE using iText.And whenever I am opening the PDF through my browser it is opening in previous zoom mode. Can any one tell me how can I open the PDF always in 100% zoom.
Browsers don't understand pdf, they render it through plugins like adobe. It is not the problem with your application or your browser but a feature of plugin/pdf-reader. I doubt if it is possible to program these controls.
I would like to know what exactly you are trying to do? If your intent is to generate a pdf-formatted data (pertaining to your application) and give it to the client, then your application has done it, you dont have to worry about what method/program/application the client uses to view it or may be you need not even think on what he does with the file. or are you trying to write another 'adobe-pdf-reader/writer' equivalent in java?
you can have open or save popup options for the pdf you are generating. You can also have the name dynamically set from the java class just add the following lines of code in java class after document.close. in itext
it will automatically pop up a window. But i dont know how to set the pdf size i think you should search for that in itext tutorials
Regards, Vijay Jamadade.
( Nothing is Impossible.)