InsertModernComment

CommentCollection.InsertModernComment 方法

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

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

返回值

插入的现代评论。

另见