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