PdfAnnotationEditor.ModifyAnnotationsAuthor

PdfAnnotationEditor.ModifyAnnotationsAuthor 方法

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

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");

另请参阅