Dear Bruno Thanks a lot for your reply. I have only a few hours left before which I have to find a solution. I am a student studying in a country where it is difficult to find English books in libraries. If I am not asking for too much please tell me what the solution is for the problem you have quoted ( p177-p178 of the book). I am very grateful to you. Regards, Minatara
--- meenakshi thilagam <[EMAIL PROTECTED]> wrote: > Hello Bruno, > I have a question regarding your reply > http://www.manning-sandbox.com/thread.jspa?threadID=16935&tstart=60 > > Here you have explained how to add images to a table > in such a way that > they are all of the same size. > > Could you please explain > > p->Add(new Chunk(img3,0,-img3->get_Height()/2)); > > cell->set_FixedHeight(img->get_Height()+6); > > cell->set_cellPadding(10); > > I think that if padding is 20 then irrespective of > the > first 2 statements image is > made smaller (Iam not sure). > > My objective is to get a table with 2 colums and 3 > rows with Equal sized images. > what should I use scaletofit() or the above > approach. > Please reply I have been struggling with this for a > long time now. > Thanks > Minatara > --- meenakshi thilagam > <[EMAIL PROTECTED]> > wrote: > > > 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/ > > > > > > > ____________________________________________________________________________________ > Shape Yahoo! in your own image. Join our Network > Research Panel today! > http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 > > > > > ------------------------------------------------------------------------- > 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/ > ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC ------------------------------------------------------------------------- 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/
