GemBox.Spreadsheet Samples


Use ExcelFile.Save overload in your ASP.NET application to stream spreadsheet files directly to ASP.NET HttpResponse.OutputStream.
Following sample launches ASP.NET application which streams generated spreadsheet file directly to browser.
Notice the usage of private fonts by specifying a value for FontSettings.FontsBaseDirectory property which enables the application to export spreadsheet to PDF format in Medium Trust Environment, since the specified location is under ASP.NET application's control.