Search Results for

    Show / Hide Table of Contents

    ExcelFile.SetCommentProperties Method

    Sets the popup placement for an existing comment. If there is not a comment on cell (row,col), this will create an empty one.

    Remarks

    Note that you can change the size but not the placement of the popup. This placement you set here is the one you see when you right click the cell and choose "Show comment". The yellow popup box is placed automatically by excel.

    Syntax

    Namespace: FlexCel.Core

    public abstract void SetCommentProperties(Int32 row, Int32 col, TImageProperties commentProperties)

    Parameters

    <-> Parameter Type Description
    row Int32 Row index (1 based)
    col Int32 Column index (1 based)
    commentProperties TImageProperties Placement and properties of the comment popup. Null if there is no comment on the cell. This parameter can be a TImageProperties, or the more complete derived class TCommentProperties, if you need to set extra information like the text alignment.

    See also

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