How do I check a check box in a pdf template
I would like to use data from a form and add to my pdf template. I use th开发者_JAVA百科e following for textfields...
PdfStamper formFiller = new PdfStamper(reader, ms);
AcroFields formFields = formFiller.AcroFields;
formFields.SetField("Name", formData.Name);
How do I check a checkbox?
I think this should do the trick:
formFields.SetField("checkBoxId", "Yes");
精彩评论