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