[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.AddComment

AddComment Method

AddComment(string)

Adds a comment to the cell.

Declaration
IComment AddComment(string text = null)
Function AddComment(Optional text As String = Nothing) As IComment
Parameters
Type Name Description
string text

The comment text.

Returns
Type Description
IComment

An IComment object represents the comment of the cell.

AddComment(RichText)

Adds a comment to the cell.

Declaration
IComment AddComment(RichText text)
Function AddComment(text As RichText) As IComment
Parameters
Type Name Description
RichText text

The comment text.

Returns
Type Description
IComment

An IComment object represents the comment of the cell.