Click or drag to resize

CommentCollectionAdd Method (String, String, String)

Adds a new comment with a new author in the top-left corner of the slide.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public Comment Add(
	string authorName,
	string authorInitials,
	string text
)

Parameters

authorName
Type: SystemString
Name of the new author.
authorInitials
Type: SystemString
The initials of the new author or if initials should be resolved from authorName.
text
Type: SystemString
The comment text.

Return Value

Type: Comment
A newly added comment positioned in the top-left corner of the slide.
Exceptions
ExceptionCondition
ArgumentExceptionauthorName or resolved authorInitials is or Empty.
ArgumentNullExceptiontext is .
See Also