Menghapus aksi buka
Contents
[
Hide
]
Menghapus aksi buka dokumen
- Ikat PDF sumber ke fasad
PdfContentEditor. - Panggil
removeDocumentOpenAction(). - Simpan dokumen PDF yang diperbarui.
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();
}
}