You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Anand Satheesh Nair <An...@infosys.com> on 2011/03/29 12:03:26 UTC
Zoom Functionality
I am new to pdfbox and we need to use this reader in our project. But I cannot find the zoom functionality for this. Please help me to enable zoom feature to pdfbox.
Thanks and Regards
Anand
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Zoom Functionality
Posted by Mirko Raner <mi...@raner.ws>.
On Tue, Mar 29, 2011 at 3:03 AM, Anand Satheesh Nair <Anand_Nair@infosys.com
> wrote:
> I am new to pdfbox and we need to use this reader in our project. But I
> cannot find the zoom functionality for this. Please help me to enable zoom
> feature to pdfbox.
>
For my Eclipse PDF renderer, I simply used the scale functionality of the
underlying AWT component to implement scaling:
http://pdfeclipse.svn.sourceforge.net/viewvc/pdfeclipse/trunk/net.sf.pdfeclipse/src/net/sf/pdfeclipse/PDFCanvas.java?revision=7&view=markup#l149
HTH,
Mirko