Compartir a través de


Comments.Add Method

Returns a Comment object that represents a new comment added to a slide.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Function Add ( _
    Left As Single, _
    Top As Single, _
    Author As String, _
    AuthorInitials As String, _
    Text As String _
) As Comment
'Usage
Dim instance As Comments
Dim Left As Single
Dim Top As Single
Dim Author As String
Dim AuthorInitials As String
Dim Text As String
Dim returnValue As Comment

returnValue = instance.Add(Left, Top, Author, _
    AuthorInitials, Text)
Comment Add(
    float Left,
    float Top,
    string Author,
    string AuthorInitials,
    string Text
)

Parameters

  • Left
    Type: System.Single
    The position, measured in points, of the left edge of the comment, relative to the left edge of the presentation.
  • Top
    Type: System.Single
    The position, measured in points, of the top edge of the comment, relative to the top edge of the presentation.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Comment

See Also

Reference

Comments Interface

Comments Members

Microsoft.Office.Interop.PowerPoint Namespace