Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelFileHandler Class / IsExcelFile Method / IsExcelFile(String,Boolean,Boolean) Method
File Name
Whether File is Excel BIFF
Whether File is Encrypted Excel


In This Topic
IsExcelFile(String,Boolean,Boolean) Method
In This Topic
Determines whether the file is an Excel document and returnes whether the file is encrypted.
Syntax
'Declaration
 
Public Overloads Function IsExcelFile( _
   ByVal fileName As String, _
   ByRef isBiff As Boolean, _
   ByRef isEncrypt As Boolean _
) As Boolean
 
'Usage
 
Dim instance As ExcelFileHandler
Dim fileName As String
Dim isBiff As Boolean
Dim isEncrypt As Boolean
Dim value As Boolean
 
value = instance.IsExcelFile(fileName, isBiff, isEncrypt)

Parameters

fileName
File Name
isBiff
Whether File is Excel BIFF
isEncrypt
Whether File is Encrypted Excel
See Also