CommentCollectionInsertComment Method |
Insert new comment to a collection at the specified index.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax public IComment InsertComment(
int index,
string text,
ISlide slide,
PointF position,
DateTime creationTime
)
Public Function InsertComment (
index As Integer,
text As String,
slide As ISlide,
position As PointF,
creationTime As DateTime
) As IComment
public:
virtual IComment^ InsertComment(
int index,
String^ text,
ISlide^ slide,
PointF position,
DateTime creationTime
) sealed
abstract InsertComment :
index : int *
text : string *
slide : ISlide *
position : PointF *
creationTime : DateTime -> IComment
override InsertComment :
index : int *
text : string *
slide : ISlide *
position : PointF *
creationTime : DateTime -> IComment
Parameters
- index
- Type: SystemInt32
Index of the element in a collection at which comment should be inserted. - text
- Type: SystemString
Plain text of a new comment. - slide
- Type: Aspose.SlidesISlide
Slide in a presentation where to add a new comment. - position
- Type: System.DrawingPointF
Position on a slide where to add a new comment. - creationTime
- Type: SystemDateTime
Time of a comment creation.
Return Value
Type:
ICommentInserted comment.
Implements
ICommentCollectionInsertComment(Int32, String, ISlide, PointF, DateTime)See Also