フィールドの削除
Contents
[
Hide
]
フィールドの削除
- ソース PDF を
FormEditorファサードにバインドしてください。 removeField(...)を対象フィールド名で呼び出してください。- 更新されたドキュメントを保存してください。
public static void removeField(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.removeField("Country");
editor.save(outputFile.toString());
} finally {
editor.close();
}
}