BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
for (int _i = 0; _i < 5; _i++)
{
//Create PDF Signature field
PdfSignatureField signatureField = new PdfSignatureField(page, "Signature");
//Set bounds
signatureField.Bounds = new Syncfusion.Drawing.RectangleF(72 + (_i * 100), (float)(100 * 0.7), 90, 30);
signatureField.ToolTip = "Signature";
signatureField.Required = true;
signatureField.BorderStyle = PdfBorderStyle.Solid;
//Add the form field to the document.
document.Form.Fields.Add(signatureField);
// End Signature Field
//Draw text in below of each signature box
page.Graphics.DrawString("(John)", new PdfStandardFont(PdfFontFamily.Helvetica, 10), PdfBrushes.Black, new PointF(72 + (_i * 100)+25, (float)(100 * 0.7)+40));
} |