إزالة إجراء الفتح
Contents
[
Hide
]
إزالة إجراء فتح المستند
- اربط ملف PDF المصدر بـ واجهة
PdfContentEditor. - استدعِ
removeDocumentOpenAction(). - احفظ مستند PDF المحدث.
public static void removeOpenAction(Path inputFile, Path outputFile) {
PdfContentEditor editor = new PdfContentEditor();
try {
editor.bindPdf(inputFile.toString());
editor.removeDocumentOpenAction();
editor.save(outputFile.toString());
} finally {
editor.close();
}
}