Set Field Comb Number
Contents
[
Hide
]
Set a field comb number
- Bind the source PDF to the
FormEditorfacade. - Call
setFieldCombNumber(...)for the target field and comb value. - Save the updated document.
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();
}
}