Table of Contents

XlsFile.SetComment Method

Sets or deletes a comment at the specified cell.

Remarks

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

Syntax

Namespace: FlexCel.XlsAdapter

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