[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IComment.ToJson

ToJson Method

ToJson()

Generates a json string from the comment.

The returned string contains the comment information and can be used with FromJson(string) to recreate or update a comment.

Declaration
string ToJson()
Function ToJson() As String
Returns
Type Description
string

The JSON string that contains comment info.

Examples
worksheet.Range["D5"].Value = "Review";
IComment comment = worksheet.Range["D5"].AddComment("Check this value.");
string json = comment.ToJson();