Rank: Newbie Groups: Member
Joined: 10/26/2014 Posts: 4
|
we used till now this code in order to add signiture to our html:
EO.Pdf.HtmlElement input = htmlResult.HtmlDocument.GetElementById(htmlTxtId); var txt = new AcmTextBox(); txt.Style.OffsetX = input.Location.X; txt.Style.OffsetY = input.Location.Y; txt.Style.Height = input.Size.Height; txt.Style.Width = input.Size.Width; txt.Name = pdfTxtName; AcmPageLayout layout = new AcmPageLayout(new AcmPadding(0, 0, 0, 0)); AcmRender render = new AcmRender(input.Location.Page, 0, new AcmPageLayout(new AcmPadding(0, 0, 0, 0))); render.Render(txt);
this doesnt do the trick any more. do we have any other option to add a signature? the last row in the code throws execption:
at EO.Internal.bar.m() at EO.Internal.bar.a(PdfColor A_0) at EO.Pdf.PdfField.set_Color(PdfColor value) at EO.Pdf.Acm.AcmField.e(gw A_0) at EO.Pdf.Acm.AcmContent.e(gw A_0) at EO.Pdf.Acm.AcmRender.a(AcmBlock A_0, Int32 A_1) at EO.Pdf.Acm.AcmRender.a(Int32 A_0, AcmContent[] A_1) at Formally.AddSignatureToPdf(HtmlToPdfResult htmlResult, String htmlTxtId, String pdfTxtName, ...) in ...
please give us a solution to our problem.
thanks in advance
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, We are not aware of such problem. Can you try to isolate the problem into a test project and then send the test project to us? See here for more details: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|