InsertModernComment

ICommentCollection.InsertModernComment 方法

在指定索引处向集合插入新的现代评论。

public IModernComment InsertModernComment(int index, string text, ISlide slide, IShape shape, 
    PointF position, DateTime creationTime)
参数类型描述
indexInt32在集合中应插入现代评论的元素索引。
textString新的现代评论的普通文本。
slideISlide在演示文稿中添加新的现代评论的幻灯片。
shapeIShape与新的现代评论相关联的幻灯片上的形状。
positionPointF在幻灯片上添加新的现代评论的位置。
creationTimeDateTime现代评论创建的时间。

返回值

插入的现代评论。

另请参阅