Search Results for

    Show / Hide Table of Contents

    ExcelFile.SetCommentRow Method

    Overloads

    • ExcelFile.SetCommentRow(Int32, Int32, TRichString, TImageProperties)
    • ExcelFile.SetCommentRow(Int32, Int32, String, TImageProperties)

    ExcelFile.SetCommentRow(Int32, Int32, TRichString, TImageProperties)

    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 SetComment(Int32, Int32, TRichString).

    Remarks

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

    Syntax

    Namespace: FlexCel.Core

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

    • ExcelFile
    • CommentRowCount
    • CommentCountRow
    • GetCommentRow
    • GetCommentRowCol
    • GetComment
    • SetComment(Int32, Int32, TRichString)
    • GetCommentPropertiesRow
    • SetCommentPropertiesRow
    • SetCommentProperties

    ExcelFile.SetCommentRow(Int32, Int32, String, TImageProperties)

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

    Remarks

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

    Syntax

    Namespace: FlexCel.Core

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

    Parameters

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

    See also

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