PdfAnnotationEditor.ModifyAnnotationsAuthor

PdfAnnotationEditor.ModifyAnnotationsAuthor method

Modifies the author of annotations on the specified page range.

public void ModifyAnnotationsAuthor(int start, int end, string srcAuthor, string desAuthor)
ParameterTypeDescription
startInt32The start page number.
endInt32The end page number.
srcAuthorStringThe author that must be modified.
desAuthorStringThe new author.

Examples

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ModifyAnnotationsAuthor(1, 2, "PREV AUTHOR", "NEW AUTHOR");
editor.Save("example_out.pdf");

See Also