Click or drag to resize

XlsRange AddComment Method (ICommentShape)

Adds a comment to the shape.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected void AddComment(
	ICommentShape comment
)

Parameters

comment
Type: Spire.Xls.Core ICommentShape
The comment to add.
Exceptions
Exception Condition
ArgumentNullException Thrown when the comment is null.
See Also