InsertModernComment()
Contents
[
Hide
]CommentCollection::InsertModernComment(int32_t, System::String, System::SharedPtr<ISlide>, System::SharedPtr<IShape>, System::Drawing::PointF, System::DateTime) method
Insert new modern comment to a collection at the specified index.
System::SharedPtr<IModernComment> Aspose::Slides::CommentCollection::InsertModernComment(int32_t index, System::String text, System::SharedPtr<ISlide> slide, System::SharedPtr<IShape> shape, System::Drawing::PointF position, System::DateTime creationTime) override
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Index of the element in a collection at which modern comment should be inserted. |
text | System::String | Plain text of a new modern comment. |
slide | System::SharedPtr<ISlide> | Slide in a presentation where to add a new modern comment. |
shape | System::SharedPtr<IShape> | Shape on a slide to which a new modern comment is associated. |
position | System::Drawing::PointF | Position on a slide where to add a new modern comment. |
creationTime | System::DateTime | Time of a modern comment creation. |
Return Value
Inserted modern comment.
See Also
- Typedef SharedPtr
- Class IModernComment
- Class String
- Class ISlide
- Class IShape
- Class PointF
- Class DateTime
- Class CommentCollection
- Namespace Aspose::Slides
- Library Aspose.Slides