Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelFileHandler Class / IsExcelStream Method / IsExcelStream(Stream,Boolean,Boolean) Method
Stream
Whether stream is Excel BIFF
Whether Stream is Encrypted Excel


In This Topic
    IsExcelStream(Stream,Boolean,Boolean) Method
    In This Topic
    Determines whether the stream is an Excel document and returns whether the file is encrypted.
    Syntax
    'Declaration
     
    
    Public Overloads Function IsExcelStream( _
       ByVal stream As Stream, _
       ByRef isBiff As Boolean, _
       ByRef isEncrypt As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As ExcelFileHandler
    Dim stream As Stream
    Dim isBiff As Boolean
    Dim isEncrypt As Boolean
    Dim value As Boolean
     
    value = instance.IsExcelStream(stream, isBiff, isEncrypt)
    public bool IsExcelStream( 
       Stream stream,
       ref bool isBiff,
       out bool isEncrypt
    )

    Parameters

    stream
    Stream
    isBiff
    Whether stream is Excel BIFF
    isEncrypt
    Whether Stream is Encrypted Excel
    See Also