PdfContentEditor.DeleteAttachments
PdfContentEditor.DeleteAttachments method
Deletes all attachments in PDF document.
public void DeleteAttachments()
Examples
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.DeleteAttachments();
editor.Save("example_out.pdf");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF