Comment Class
Represents a single comment attached to a slide. It contains the text of the comment, its position on the slide, and attributes referring to its author and date.
- Inheritance:
- System.ObjectComment
Remarks
A comment is a text note attached to a slide, with the primary purpose of allowing readers of a presentation to provide feedback to the presentation author.Each comment contains an unformatted text string and information about its author, and is attached to a particular location on a slide. Comments can be visible while editing the presentation, but do not appear when a slide show is given.The displaying application decides when to display comments and determines their visual appearance.
Properties
Author
Gets the author of the comment.
Property Value
The author of the comment.
LastModified
Gets the date and time this comment was last modified.
Property Value
- System.Nullable<System.DateTime>
The date and time this comment was last modified.
Left
Gets or sets the position of the left edge of the comment on a slide.
Property Value
The position of the left edge of the comment on a slide.
Text
Gets or sets the content of a comment. This is the text with which the author has annotated the slide.
Property Value
- System.String
The content of a comment.
Exceptions
- System.ArgumentNullException
Value is null.
Top
Gets or sets the position of the top edge of the comment on a slide.
Property Value
The position of the top edge of the comment on a slide.
Methods
ToString()
Returns a System.String that represents this Comment instance.
Returns
- System.String
A System.String that represents this Comment instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).