This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Control Zoom of shown pdf file on client side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Control Zoom of shown pdf file on client side" Watch "Control Zoom of shown pdf file on client side" New topic
Author

Control Zoom of shown pdf file on client side

sandeep kale
Greenhorn

Joined: Sep 11, 2008
Posts: 4
Hi All!
I am showing p.d.f. file in browser.But the zoom percentile is varying for each file.
I want to keep it by default to a fixed size.
Can I do this. Please advise me.
Thanks in advance.
Bye
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi there and welcome to Javaranch!

Firstly it is Javaranch policy to have a 'real' firt and last name as your screen name, so please do take time to change this.

Secondly, I can't see how this is a Struts question? Please post questions in the correct forum (A staff member will move this eventually).

Now onto your Q:

Are you simply viewing a PDF from a file system? Loading it from Java?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
sandeep kale
Greenhorn

Joined: Sep 11, 2008
Posts: 4
Hi.
I am showing jasper report in p.d.f. format on browser i.e. am writing pdf
stream to s.e.r.v.l.e.t. Output Stream.Now issue is that stream on client browser is having different zooming percentile.I just want to have a fixed zoom percentage for the stream. Thank you.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Sorry I don't know enough about JasperReports and PDF display to help you. Hopefully someone else can chime in. It might be a case of the client dictating what the zoom percentage is, which in that case there is very little you can do.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Control Zoom of shown pdf file on client side
 
Similar Threads
how to set PDF Zoom size to 100% using itext
JavaRanch.com is slow...
which is the best model in SONY
Javascript+HTML HELP.....URGENT....
cewolf mouse zooming