حذف عنصر من القائمة
Contents
[
Hide
]
حذف عنصر من حقل القائمة
- اربط ملف PDF المصدر إلى واجهة
FormEditor. - استدعِ
delListItem(...)للحقل الهدف والعنصر للإزالة. - احفظ المستند المحدث.
public static void deleteListItem(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.delListItem("Country", "UK");
editor.save(outputFile.toString());
} finally {
editor.close();
}
}