Thanks Paulo and 佐藤 剛宣, Clip works fine for displaying a section of a big image. I think PdfTemplate may works for the first case for the area size being multiple of image size.
I do not understand how the page event helps. But is there any simple methods to layout the background image? I do not want to write code using pdfTemplate and clip to layout small image to a large area, such as layout a 200X200 image to a 500X500 area? Many thanks. Jay ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Wed, 03 Mar 2004, Jay Chiu ([EMAIL PROTECTED]) wrote: > I need add background images to certain areas in pdf files. Can > someone please tell me what approach I may use for the following > two cases? > > (1) Adding a small image to a bigger area > Support the image original size is 300x300, scale of 1/3 is > required to get better resolution, and the area size is 200. > Thus 4 images need to be laid out in this area. It seems I can > not use watermark in this case. > > (2) Add a big image to a smaller area > Support the image final size is 200x200 and the area isze is > 100x100. Then we only want to display the top left section of > the image in the area. I can not find image chopping function in > Itext API. > > Basically I am asking how to implement the background image for > pdf as Internet Browsers such IE do for html page. > > Thanks a lot. > > Jay > > ________________________________________________ > Get your own "800" number > Voicemail, fax, email, and a lot more > http://www.ureach.com/reg/tag > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
