Fred Janon wrote:
> Thanks, I'll check the PdfImportedPage. I'll buy the second edition of 
> the book too.
> 
> I wrote some code to try to replace a button filed with some PDF content 
> and the button is not replaced. Both the PDF content and the button 
> still appear on the final pdf document. Any idea why?

You don't understand the concept.

This is totally wrong:
>     PdfTemplate wagonwheelcharttemplate = 
> contentbyte.createTemplate(width, height);

>     bt.setTemplate(wagonwheelcharttemplate);

You create a template for a writer that corresponds with a Document, and 
then you use that template to change a file that is being manipulated 
with a totally different PdfStamper object.

That is never going to work.
You need to learn more about the concepts first.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to