CellRange AddComment Method |
Name | Description | |
---|---|---|
![]() ![]() |
AddComment |
Adds a comment to the range.
![]()
The following code illustrates how to insert Comments in the Range:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Adding comments to a cell</para><para>ICommentShape comment = worksheet.Range["A1"].AddComment();</para><para>comment.Text= "Comments";</para><para>//Save to file</para><para>workbook.SaveToFile("AddComment.xlsx");</para>
|
![]() |
AddComment(Boolean) |
Adds a comment to the range.
(Inherited from
XlsRange
.)
|
![]() |
AddComment(ExcelComment) |
Adds a comment to the range.
|
![]() |
AddComment(ICommentShape) |
Adds a comment to the shape.
(Inherited from
XlsRange
.)
|