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)
Parameter Type Description
start Int32 The start page number.
end Int32 The end page number.
srcAuthor String The author that must be modified.
desAuthor String The 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