ضبط مظهر الحقل
Contents
[
Hide
]
ضبط علامات مظهر الحقل
- اربط ملف PDF المصدر بـ واجهة
FormEditor. - استدعِ
setFieldAppearance(...)لحقل الهدف وعلم التعليق المختار. - احفظ المستند المحدث.
public static void setFieldAppearance(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.setFieldAppearance("First Name", AnnotationFlags.Hidden);
editor.save(outputFile.toString());
} finally {
editor.close();
}
}