Preencher campos de botão de rádio

Contents
[ ]

Use FormExamples.fillRadioButtonFields(...) para selecionar uma opção de botão de rádio.

public static void fillRadioButtonFields(Path inputFile, Path outputFile) {
    Form form = new Form();
    try {
        form.bindPdf(inputFile.toString());
        form.fillField("gender", 0);
        form.save(outputFile.toString());
    } finally {
        form.close();
    }
}