XlsFile.GetComment Method
Returns the comment at the specified row and column, or an empty string if there is no comment on that cell.
Remarks
Use this method when you are searching for a comment on a fixed position. To loop along all comments on a sheet, see ExcelFile.CommentRowCount
Syntax
Namespace: FlexCel.XlsAdapter
public override TRichString GetComment(Int32 row, Int32 col)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
row | Int32 | Row index (1 based) | |
col | Int32 | Column index (1 based) |
Returns
The comment on the specified cell, String.Empty if there is no comment on it.
See also
- XlsFile
- ExcelFile.CommentRowCount
- ExcelFile.CommentCountRow
- ExcelFile.GetCommentRow
- ExcelFile.GetCommentRowCol
- ExcelFile.SetCommentRow(Int32, Int32, String, TImageProperties)
- ExcelFile.SetComment(Int32, Int32, TRichString)
- ExcelFile.GetCommentPropertiesRow
- ExcelFile.SetCommentPropertiesRow
- ExcelFile.SetCommentProperties