开发者

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");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜