I'm playing around with SignaturePanels. There are RightPanels and LeftPanels.
Is there a way to set the size of one of the panels to zero?
Signature
Re: Signature
Support · Apr 22, 2014Hello,
It is not possible to set the size of the right and left signature panels to zero. You can hide the text using HideAllText method of the SignaturePanel class. Please refer to the documentation on members of SignaturePanel class here
. Below is the sample code for hiding the signature panel text.
Document document = new Document();
Page page = new Page();
//Create & add Signature Form Field
Signature signature = new Signature("SigField", 10, 10, 250, 100);
signature.LeftPanel.HideAllText();
signature.RightPanel.HideAllText();
page.Elements.Add(signature);
document.Pages.Add(page);
Certificate certificate = new Certificate(@"Path for certificate file", "password");
document.Sign("SigField", certificate);
document.Draw(@"C:\Temp\Signature.pdf");
Thanks,
ceTe Software Support Team.