This article explains how to check whether an Excel document is supported by XlsIO.
XlsIO supports Excel files generated from Excel97 (*.xls) onwards. We can check whether the file is supported by XlsIO using IsSupported() method in IApplication. This method accepts either a file path or a stream object of an Excel document and returns true if the file is supported by XlsIO, otherwise false.
Sample code to check whether the Excel file is supported
Note : When we try to open an Excel document generated prior Excel97 using XlsIO then “File does not contain workbook stream” exception occurs.
The following C#/VB complete code snippet explains how to check whether an Excel document is supported by XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|