PdfAnnotationEditor.DeleteAnnotations

DeleteAnnotations()

تحذف جميع التعليقات التوضيحية في المستند.

public void DeleteAnnotations()

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.DeleteAnnotations();
editor.Save("example_out.pdf");

انظر أيضًا


DeleteAnnotations(string)

تحذف جميع التعليقات التوضيحية من النوع المحدد في المستند.

public void DeleteAnnotations(string annotType)
المعاملالنوعالوصف
annotTypeStringنوع التعليق التوضيحي الذي سيتم حذفه.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.DeleteAnnotations("Text");
editor.Save("example_out.pdf");

انظر أيضًا