Search Results for

    Show / Hide Table of Contents

    XlsFile.SetCommentRow Method

    Changes the properties (text and position of the popup) for an existing comment at commentIndex. To delete a comment, set a "new TRichString()" as the "value" param. To add a new comment, use ExcelFile.SetComment(Int32, Int32, TRichString).

    Remarks

    This method is used together with ExcelFile.CommentCountRow. See the reference on it for an example.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public override void SetCommentRow(Int32 row, Int32 commentIndex, TRichString value, TImageProperties commentProperties)

    Parameters

    <-> Parameter Type Description
    row Int32 Row Index (1 based)
    commentIndex Int32 Comment index (1 based)
    value TRichString Text of the comment. Set it to "new TRichString()" to remove the comment.
    commentProperties TImageProperties Properties of the popup.

    See also

    • XlsFile
    • ExcelFile.CommentRowCount
    • ExcelFile.CommentCountRow
    • ExcelFile.GetCommentRow
    • ExcelFile.GetCommentRowCol
    • ExcelFile.GetComment
    • ExcelFile.SetComment(Int32, Int32, TRichString)
    • ExcelFile.GetCommentPropertiesRow
    • ExcelFile.SetCommentPropertiesRow
    • ExcelFile.SetCommentProperties
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com