オープンアクションの削除
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();
}
}