AddAuthor
ICommentAuthorCollection.AddAuthor 方法
在集合的末尾添加新的作者。
public ICommentAuthor AddAuthor(string name, string initials)
参数 | 类型 | 描述 |
---|---|---|
name | String | 新作者的名字。 |
initials | String | 新作者的首字母。 |
返回值
新的 ICommentAuthor
对象。
异常
异常 | 条件 |
---|---|
PptxEditException | 如果已经添加了相同名字和首字母的作者,则抛出此异常。 |