Hi newbie2itext,

On 25 May 2012 00:48, newbie2itext <newbie2c...@hotmail.com> wrote:

> Basically just a repost of this, but the codes in last post is not working
> for me...
> And I search through the web, cannot find a solution either...
> Is there are something missing in his codes? Should I place his codes
> before
> or after my codes?
>
>
> http://itext-general.2136553.n4.nabble.com/Problem-with-transparent-images-td2157256.html
>
> my codes:
> ----------------------------------
>
> PdfStamper ps = ...
> String imagePath = ...
> int page = ...
>
> ...set values to some text fields...
>
> Image newImage = Image.GetInstance(imagePath);
> ps.GetOverContent(page).AddImage(newImage);
>
> ...set values to some text fields...
>
> ps.FormFlattening = true;
>
> ps.Close();
>

What do you mean by it's not working?
Does it throw an Exception? If so, where?
Is the final result different from what you expected? If so, how?

Also, you should consider sending a small, self-contained, correct example
( http://sscce.org/ ) of what your issue is, so that people here can have a
look at it.
And remember that you are referring to a post that is 4 years old, and the
iText API has undergone heavy changes since then.

Cheers,
alexis
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to