Single To Multiple
Contents
[
Hide
]
Convert a single-line field to multiple lines
- Bind the source PDF to the
FormEditorfacade. - Call
single2Multiple(...)for the target field name. - Save the updated document.
public static void singleToMultiple(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.single2Multiple("City");
editor.save(outputFile.toString());
} finally {
editor.close();
}
}