Checking off pdf checkbox with itextsharp
You shouldn’t “guess” for the possible values. You need to use a value that is stored in the PDF. Try the CheckBoxValues example to find these possible values: public String getCheckboxValue(String src, String name) throws IOException { PdfReader reader = new PdfReader(SRC); AcroFields fields = reader.getAcroFields(); // CP_1 is the name of a check box … Read more