PdfAnnotationEditor.DeleteAnnotation

PdfAnnotationEditor.DeleteAnnotation method

Deletes the annotation with specified annotation name.

public void DeleteAnnotation(string annotName)
ParameterTypeDescription
annotNameStringThe annotation name

Examples

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.DeleteAnnotation("4cfa69cd-9bff-49e0-9005-e22a77cebf38");
editor.Save("example_out.pdf");

See Also