Bruno Lowagie wrote:
Justin Lee wrote:
Is it possible to change the page color only for certain pages? I need to generate a document that has sections at the back with differing colors while the rest of the document should be on a white background. I've been able to set the page color, but it seems to be an all or nothing deal. Any suggestions?Before invoking newPage to go to the next page (the one with the different color),
just create a Rectangle with the color of your choice and use it as parameter for
Document.setPageSize.
br,
Bruno
-- cheeser You can find my blog at http://cheeser.blog-city.com and on AIM as "evan chooly"
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
