Table of contents
TOC
Collapse the table of content
Expand the table of content

Comments.Add2 Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. Add2(Left,Top,Author,AuthorInitials,Text,ProviderID,UserID)

expression A variable that represents a Comments object.

Parameters

NameRequired/OptionalData typeDescription
LeftRequiredFloatThe position, measured in points, of the left edge of the comment, relative to the left edge of the presentation.
TopRequiredFloatThe position, measured in points, of the top edge of the comment, relative to the top edge of the presentation.
AuthorRequiredStringThe author of the comment.
AuthorInitialsRequiredStringThe author's initials.
TextRequiredStringThe comment's text.
ProviderIDRequiredStringThe service that provides contact information.Example: ?AD? (Active Directory)
UserIDRequiredStringThe ID of the user providing the comment.
LeftRequiredFLOAT
TopRequiredFLOAT
AuthorRequiredSTRING
AuthorInitialsRequiredSTRING
TextRequiredSTRING
ProviderIDRequiredSTRING
UserIDRequiredSTRING

Return value

COMMENT

© 2017 Microsoft