Parameters
- grid
- C1FlexGridBase instance that will be saved.
- fileName
- Name of the file to save, including the path.
- sheetName
- Name of the sheet to add to the Excel workbook.
- flags
- Options to use when saving the file.
If the specified file exists, the control will add or replace a single worksheet in it. Existing sheets will be preserved if possible.
The worksheet to add or replace is identified by the sheetName parameter.
If the specified file is in use by another application (usually Excel), the method will fail.
This method does not require Microsoft Excel to be installed on the machine.