Mengatur nomor comb Field
Contents
[
Hide
]
Mengatur nomor comb bidang
- Sambungkan PDF sumber ke fasad
FormEditor. - Panggil
setFieldCombNumber(...)untuk bidang target dan nilai comb. - Simpan dokumen yang diperbarui.
public static void setFieldCombNumber(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.setFieldCombNumber("textCombField", 5);
editor.save(outputFile.toString());
} finally {
editor.close();
}
}