Posted by a ceTe Software moderator
Hi,
You can add multiple signature fields and sign them dynamically using DynamicPDF Core Suite for .NET. Only one Signature will be applied to all pages.
Here is a code sample.
//Load exiting PDF.
string inputPdf = @"Input PDF file path";
PdfDocument pdf = new PdfDocument(inputPdf);
MergeDocument document = new MergeDocument(pdf);
Signature signField = new Signature("sig",100, 100, 100, 50);
string inputImage = @"Input image file path";
signField.LeftPanel.HideAllText();
signField.LeftPanel.SetImage(ImageData.GetImage(inputImage));
signField.LeftPanel.FitImage =true;
//Create Tamplate object to apply to whole document.
Template templateObj = new Template();
templateObj.Elements.Add(signField);
Certificate certObj = new Certificate(@"Certificate file path", "password");
document.Sign("sig", certObj);
//Apply template object to Document.
document.Template = templateObj;
string outputPdf = @"C:\Temp\Mydocument.pdf";
document.Draw(outputPdf);
Thanks,
ceTe Software Support Team