Однострочный в многосрочный
Contents
[
Hide
]
Преобразование однострочного поля в многострочное
- Привяжите исходный PDF к фасаду
FormEditor. - Вызовите
single2Multiple(...)для имени целевого поля. - Сохраните обновлённый документ.
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();
}
}