Sérgio Oliveira wrote:
> obj
> <</CropBox[0.0 0.0 612.0 792.0]/Parent 17 0 R/Contents 26 0 R/Rotate
> 0/MediaBox[0.0 0.0 612.0 792.0]/Resources<</Font<</T1_0 34 0
> R>>/ProcSet[/PDF/Text]>>/Type/Page>>
> endobj
Looks good.
> I´m using:
> under = stamper.GetUnderContent(i);
> under.BeginText();
> under.SetFontAndSize(bf6, 20);
> under.SetTextMatrix(2, 2); -> I tried diferent values here...
> under.ShowText("XXX" + i);
> under.EndText();
Why do you add the content UNDER the existing content?
Maybe your text isn't showing because it is covered
by another object (an image, a rectangle).
If you're a newbie, I also don't understand why you
are using setTextMatrix/showText instead of the
showTextAligned method?
br,
Bruno
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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/