Search Results for

    Show / Hide Table of Contents

    ExcelFile.SetComment Method

    Overloads

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

    ExcelFile.SetComment(Int32, Int32, String)

    Sets or deletes a comment at the specified cell.

    Remarks

    To delete a comment, set its value to String.Empty.

    Syntax

    Namespace: FlexCel.Core

    public void SetComment(Int32 row, Int32 col, String value)

    Parameters

    <-> Parameter Type Description
    row Int32 Row index (1 based)
    col Int32 Column index (1 based)
    value String Text of the comment. Set it to String.Empty to delete the comment.

    See also

    • ExcelFile
    • CommentRowCount
    • CommentCountRow
    • GetCommentRow
    • GetCommentRowCol
    • GetComment
    • SetCommentRow(Int32, Int32, String, TImageProperties)
    • GetCommentPropertiesRow
    • SetCommentPropertiesRow
    • SetCommentProperties

    ExcelFile.SetComment(Int32, Int32, TRichString)

    Sets or deletes a comment at the specified cell.

    Remarks

    To delete a comment, set its value to String.Empty.

    Syntax

    Namespace: FlexCel.Core

    public void SetComment(Int32 row, Int32 col, TRichString value)

    Parameters

    <-> Parameter Type Description
    row Int32 Row index (1 based)
    col Int32 Column index (1 based)
    value TRichString Text of the comment. Set it to String.Empty to delete the comment.

    See also

    • ExcelFile
    • CommentRowCount
    • CommentCountRow
    • GetCommentRow
    • GetCommentRowCol
    • GetComment
    • SetCommentRow(Int32, Int32, String, TImageProperties)
    • GetCommentPropertiesRow
    • SetCommentPropertiesRow
    • SetCommentProperties

    ExcelFile.SetComment(Int32, Int32, TRichString, String, TImageProperties)

    Sets or deletes a comment at the specified cell.

    Remarks

    To delete a comment, set its value to String.Empty.

    Syntax

    Namespace: FlexCel.Core

    public abstract void SetComment(Int32 row, Int32 col, TRichString value, String author, TImageProperties commentProperties)

    Parameters

    <-> Parameter Type Description
    row Int32 Row index (1 based)
    col Int32 Column index (1 based)
    value TRichString Text of the comment. Set it to String.Empty to delete the comment.
    author String Author of the comment.
    commentProperties TImageProperties Properties of the popup.

    See also

    • ExcelFile
    • CommentRowCount
    • CommentCountRow
    • GetCommentRow
    • GetCommentRowCol
    • GetComment
    • SetCommentRow(Int32, Int32, String, TImageProperties)
    • GetCommentPropertiesRow
    • SetCommentPropertiesRow
    • SetCommentProperties

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

    Sets or deletes a comment at the specified cell.

    Remarks

    To delete a comment, set its value to String.Empty.

    Syntax

    Namespace: FlexCel.Core

    public void SetComment(Int32 row, Int32 col, String value, String author, TImageProperties commentProperties)

    Parameters

    <-> Parameter Type Description
    row Int32 Row index (1 based)
    col Int32 Column index (1 based)
    value String Text of the comment. Set it to String.Empty to delete the comment.
    author String Author of the comment.
    commentProperties TImageProperties Properties of the popup.

    See also

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