What is the common way to check the check box field in a pdf using iTextsharp?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am filling the data for a fillable pdf using iTextsharp. There are n number of checkboxes in the pdf form. I have set the value for the check boxes using "Yes" or "No". This works fine. But some of the check boxes does not work in this way; instead i need to use 1 or 0 to make it work. So can anyone help me what is the common way to check/uncheck the checkboxes in pdf using iTextSharp? Thanks in Advance, Snowwhite 回答1: you can find in this way: PdfReader reader = new PdfReader(fileNameIn); PdfStamper stamper = new PdfStamper(reader, new