DeleteAnnotations

DeleteAnnotations()

Supprime toutes les annotations du document.

public void DeleteAnnotations()

Exemples

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

Voir également


DeleteAnnotations(string)

Supprime toutes les annotations du type spécifié dans le document.

public void DeleteAnnotations(string annotType)
ParamètreTaperLa description
annotTypeStringLe type d’annotation sera supprimé.

Exemples

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

Voir également