Table of Contents

ExcelFile.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 CommentRowCount

Syntax

Namespace: FlexCel.Core

public abstract 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