Menghapus aksi Field

Menghapus aksi bidang

  1. Ikat PDF sumber ke fasad FormEditor.
  2. Panggil removeFieldAction(...) untuk bidang target.
  3. Simpan dokumen yang diperbarui.
public static void removeFieldAction(Path inputFile, Path outputFile) {
    FormEditor editor = new FormEditor();
    try {
        editor.bindPdf(inputFile.toString());
        editor.removeFieldAction("Script_Demo_Button");
        editor.save(outputFile.toString());
    } finally {
        editor.close();
    }
}