Partager via


Comment Members

Include Protected Members
Include Inherited Members

Represents a comment on a given slide or slide range. The Comment object is a member of the Comments collection object.

The Comment type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property Author Returns a string that represents the author of a specified Comment object. Read-only.
Public property AuthorIndex Returns the index number of a comment for a given author. The first comment for a given author has an index number of 1, their second comment has an index number of 2. Read-only.
Public property AuthorInitials Returns the author's initials as a read-only string for a specified Comment object. Read-only.
Public property DateTime Returns the date and time a comment was created.
Public property Left Returns a single-precision floating-point number that represents the distance in points from the left edge of the comment to the left edge of the slide. Read-only.
Public property Parent Returns the parent object for the specified object.
Public property Text Returns a string that represents the text in a comment. Read-only.
Public property Top Returns a single-precision floating-point number that represents the distance in points from the left edge of the comment to the left edge of the slide. Read-only.

Top

Methods

  Name Description
Public method Delete Deletes the specified Comment object.

Top

See Also

Reference

Comment Interface

Microsoft.Office.Interop.PowerPoint Namespace