Xlsx |
public void SaveAsStream( Stream stream, bool leaveOpen = false )
| Exception | Condition |
|---|---|
| IOException | Throws IOException in case of an error |
| RangeException | Throws a RangeException if the start or end address of a handled cell range was out of range |
| FormatException | Throws a FormatException if a handled date cannot be translated to (Excel internal) OADate |
| StyleException | Throws a StyleException if one of the styles of the workbook cannot be referenced or is null |