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");

Смотрите также