ModifyAnnotationsAuthor

PdfAnnotationEditor.ModifyAnnotationsAuthor method

修改指定页面范围内注释的作者。

public void ModifyAnnotationsAuthor(int start, int end, string srcAuthor, string desAuthor)
范围类型描述
startInt32起始页码。
endInt32结束页码。
srcAuthorString必须修改的作者。
desAuthorString新作者。

例子

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

也可以看看