ModernComment Class |
Namespace: Aspose.Slides
The ModernComment type exposes the following members.
Name | Description | |
---|---|---|
![]() | Author |
Returns the author of a comment.
Read-only ICommentAuthor.
(Inherited from Comment.) |
![]() | CreatedTime |
Returns or sets the time of a comment creation.
Setting this property to MinValue means no comment time is set.
Read/write DateTime.
(Inherited from Comment.) |
![]() | ParentComment |
Gets or sets parent comment.
Read/write IComment.
(Inherited from Comment.) |
![]() | Position |
Returns or sets the position of a comment on a slide.
Read/write PointF.
(Inherited from Comment.) |
![]() | Shape |
Returns a shape associated with the comment.
Read-only IShape.
|
![]() | Slide |
Returns or sets the parent slide of a comment.
Read-only ISlide.
(Inherited from Comment.) |
![]() | Status |
Gets or sets the status of the comment.
Read/write ModernCommentStatus.
|
![]() | Text |
Returns or sets the plain text of a slide comment.
Read/write String.
(Inherited from Comment.) |
![]() | TextSelectionLength |
Gets or sets text selection length in text frame if the comment associated with AutoShape.
Read/write Int32.
|
![]() | TextSelectionStart |
Gets or sets starting position of text selection in text frame if the comment associated with AutoShape.
Read/write Int32.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Remove |
Removes comment and all its replies from the parent collection.
(Inherited from Comment.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
[C#] using (Presentation pres = new Presentation()) { ICommentAuthor newAuthor = pres.CommentAuthors.AddAuthor("Some Author", "SA"); IModernComment modernComment = newAuthor.Comments.AddModernComment("This is modern comment", pres.Slides[0], null, new PointF(100, 100), DateTime.Now); pres.Save(outPptxFileName, SaveFormat.Pptx); }