Table of Contents

ExcelFile.SetComment Method

Overloads

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