نقل الحقل
Contents
[
Hide
]
نقل حقل
- اربط ملف PDF المصدر بـ واجهة
FormEditor. - استدعِ
moveField(...)مع اسم الحقل المستهدف وإحداثيات المستطيل الجديدة. - احفظ المستند المحدث.
public static void moveField(Path inputFile, Path outputFile) {
FormEditor editor = new FormEditor();
try {
editor.bindPdf(inputFile.toString());
editor.moveField("Country", 200, 600, 280, 620);
editor.save(outputFile.toString());
} finally {
editor.close();
}
}