[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITables.FromJson

FromJson Method

FromJson(string)

Loads the table collection from the specified JSON string.

Declaration
void FromJson(string json)
Sub FromJson(json As String)
Parameters
Type Name Description
string json

The JSON string representing the tables.

Examples
worksheet.Range["A1:B3"].Value = new object[,] {{"Name", "Value"}, {"A", 100}, {"B", 200}};
ITables tables = worksheet.Tables;
tables.Add(worksheet.Range["A1:B3"], true);
string json = tables.ToJson();
tables.FromJson(json);