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