Menghapus Field
Contents
[
Hide
]
Menghapus bidang
- Ikat PDF sumber ke fasad
FormEditor. - Panggil
removeField(...)untuk nama bidang target. - Simpan dokumen yang diperbarui.
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();
}
}