InsertComment
CommentCollection.InsertComment 方法
在指定索引处向集合插入新评论。
public IComment InsertComment(int index, string text, ISlide slide, PointF position, 
    DateTime creationTime)
| 参数 | 类型 | 描述 | 
|---|---|---|
| index | Int32 | 要插入评论的集合中元素的索引。 | 
| text | String | 新评论的纯文本。 | 
| slide | ISlide | 在演示文稿中添加新评论的幻灯片。 | 
| position | PointF | 在幻灯片上添加新评论的位置信息。 | 
| creationTime | DateTime | 评论创建的时间。 | 
返回值
插入的评论。
另请参见
- 接口 IComment
- 接口 ISlide
- 类 CommentCollection
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides