ModifyAnnotationsAuthor
PdfAnnotationEditor.ModifyAnnotationsAuthor method
修改指定页面范围内注释的作者。
public void ModifyAnnotationsAuthor(int start, int end, string srcAuthor, string desAuthor)
范围 | 类型 | 描述 |
---|---|---|
start | Int32 | 起始页码。 |
end | Int32 | 结束页码。 |
srcAuthor | String | 必须修改的作者。 |
desAuthor | String | 新作者。 |
例子
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ModifyAnnotationsAuthor(1, 2, "PREV AUTHOR", "NEW AUTHOR");
editor.Save("example_out.pdf");
也可以看看
- class PdfAnnotationEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF