Search Results for

    Show / Hide Table of Contents

    TExcelFile.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

    Unit: FlexCel.Core

    function TExcelFile.GetComment(const row: Integer; const col: Integer): TRichString; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const row Integer Row index (1 based)
    const col Integer Column index (1 based)

    Returns

    The comment on the specified cell, String.Empty if there is no comment on it.

    See also

    • TExcelFile
    • CommentRowCount
    • CommentCountRow
    • GetCommentRow
    • GetCommentRowCol
    • SetCommentRow(Integer, Integer, string, IImageProperties, Boolean)
    • SetComment(Integer, Integer, TRichString)
    • GetCommentPropertiesRow
    • SetCommentPropertiesRow
    • SetCommentProperties
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com