PdfContentEditorDeleteAttachments Method

Deletes all attachments in PDF document.

Namespace:  Aspose.Pdf.Facades
Assembly:  Aspose.PDF (in Aspose.PDF.dll) Version: 22.1.0
Syntax
public void DeleteAttachments()
Examples
C#
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.DeleteAttachments();
editor.Save("example_out.pdf");
See Also