AddAuthor

CommentAuthorCollection.AddAuthor 方法

在集合末尾添加新作者。

public ICommentAuthor AddAuthor(string name, string initials)
参数类型描述
nameString新作者的名称。
initialsString新作者的首字母。

返回值

新的 ICommentAuthor 对象。

异常

异常条件
PptxEditException如果已添加相同名称和首字母的作者,则抛出。

另见