Click or drag to resize

CommentCollectionAdd Method (CommentAuthor, String)

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

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public Comment Add(
	CommentAuthor author,
	string text
)

Parameters

author
Type: GemBox.PresentationCommentAuthor
The comment author.
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
ArgumentNullExceptionauthor or text is .
See Also