//create a new workbook var workbook = new GrapeCity.Documents.Excel.Workbook(); Stream fileStream = this.GetResourceStream("json\\CellButtons.json"); workbook.FromJson(fileStream); // Save to a pdf file workbook.Save("CellButtons.pdf");
' Create a new Workbook Dim workbook As New Workbook Dim fileStream As Stream = GetResourceStream("json\CellButtons.json") workbook.FromJson(fileStream) ' save to a pdf file workbook.Save("CellButtons.pdf")