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
)
Protected Sub AddComment (
comment As ICommentShape
)
protected:
void AddComment(
ICommentShape^ comment
)
member AddComment :
comment : ICommentShape -> unit
Parameters
-
comment
-
Type:
Spire.Xls.Core
ICommentShape
The comment to add.
Exceptions
Exception
|
Condition
|
ArgumentNullException
|
Thrown when the comment is null.
|
See Also