With scaleToFit, the size of the image is reduced until it fits inside the 
specified height and width. The aspect ratio of the image is maintained.

--
Martin Gunnarsson


-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För meenakshi thilagam
Skickat: den 18 september 2007 07:14
Till: [email protected]
Ämne: [iText-questions] Scale to fit

Hello,
Could any one please explain how Sacletofit works.
Please explain the parameters (width and height) and
how the ratio is calculated using the parameters.

Does scalepercent also preserve aspect ratio then
please please explain its parameters in details too.
Thank you.
Mintara


      
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, 
and more!
http://tv.yahoo.com/collections/3658 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to