إزالة الحقل
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();
}
}