Hi,

> My goal is to be able to use (for
> instance) - a base pdf with a sheet pre-prepared with text and graphics, and
> overprint an address on the document, is that something within the
> capability of the library? Or is there another way to achieve this goal ?

We have done something similar with iText i guess:

There you can add a text to a layer above or below the normal text
layer (e.g. like a watermark)
You use getUnderContent() oder getOverContent Method and add your own
address, other text/images or whatever

(Regarding iText http://itextpdf.com - i would suggest you use the
version 2.1.7 since the new version has a changed license)

Regards,
ToM

Ps: Code like that:

//adds text to the first page
PdfContentByte underOverContent = this.stamper.getUnderContent(1);
        
underOverContent.beginText();
underOverContent.setFontAndSize(Font, FontSize);
underOverContent.showTextAligned(Element.ALIGN_CENTER,"Some Text",X,Y,Rotation);
underOverContent.endText();

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to