Nice Michael. I will give it a try.

Thanks a lot

---
Salut,
====================================
Ricardo Borillo Domenech
http://xml-utils.com / http://twitter.com/borillo



On Sun, May 30, 2010 at 14:20, mkl <[email protected]> wrote:
>
> Ricardo Borillo Domenech,
>
> Ricardo Borillo Domenech wrote:
>> I'm usign iText for generate digitally signed PDF files with a visible
>> signature.
>>
>> I'm using the setRenderingMode(RenderingMode.GRAPHIC_AND_DESCRIPTION) for
>> showing an image next to the signature information.
>> The problem is that the full width of the visible signature is 180 and the
>> image takes 90 and the text 90 (50% each element).
>>
>> It's possible to show an image with a fixed width and assign all the
>> remaining space to the signature information?
>
> The 50-50 layout there is the hard-coded iText default for the Layer 2
> appearance, cf. the method PdfSignatureAppearance.getAppearance() --- if
> (app[2] == null) {...} --- which preClose() calls to retrieve the actual
> signature appearance.
>
> You can override this and essentially create an appearance of your liking by
> calling getLayer(2) and decorating the returned PdfTemplate as desired
> before calling preClose(). You might want to look at the code creating the
> default (see above) for inspiration.
>
> Regards,   Michael.
> --
> View this message in context: 
> http://itext-general.2136553.n4.nabble.com/PdfSignatureAppearance-question-tp2234549p2236241.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.itextpdf.com/book/
> 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/
>

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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