Sorry, if you received this message in duplicate.
-----
Hi there,
I've developed a small program to digital signing using the Portuguese e-ID.
I'm having troubles doing three things:
1- Positioning the signature on the pdf page (signature stamp)
2- Related to the above, calculating the exact coordinates using a thumbnail
3- editing the text for the signature.
1-
I'm using this code to render the stamp of the signature on the page, at the
same position for every PDF:
PdfSignatureAppearance sap = stp.SignatureAppearance;
sap.SetVisibleSignature(new Rectangle(300, 730, 1, 680), 1, null);
I think that the size of the signature is the difference between the
coordinates, but can't seem to find out to what point of the document is
used as a reference to the coordinates specified.
Is it the bottom of the page? The top of the page? Is it the right corner or
the left?
2
I would like to show a thumbnail of the pdf pages to let the user choose
where to put the signature. But since I don't know how to put the signature
where I want, I can't calculate the coords.
Although I've found how to make image previews of the pages, I've seemed to
have misplaced that information, so a little help here would be appreciated.
3
The signature can contain some fields. One of those fields is "reason" and
the text on pdf will be "Reason:".
I would like to change this text to something else, but I can't figure out
how to do it.
Waiting to here from you code gurus, and I thank you in anticipation.
--
Rui Silva
http://www.rukinhas.net
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
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