ラジオボタン フィールドを入力

Contents
[ ]

FormExamples.fillRadioButtonFields(...) を使用してラジオボタンのオプションを選択してください。

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();
    }
}