Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / IExcelBiffWrite Interface / ExcelGetProtect Method
Sheet index
Whether sheet is protected


In This Topic
    ExcelGetProtect Method
    In This Topic
    Gets the protection setting for exporting to Excel BIFF file.
    Syntax
    'Declaration
     
    
    Function ExcelGetProtect( _
       ByVal sheet As Short, _
       ByRef isProtect As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As IExcelBiffWrite
    Dim sheet As Short
    Dim isProtect As Boolean
    Dim value As Boolean
     
    value = instance.ExcelGetProtect(sheet, isProtect)
    bool ExcelGetProtect( 
       short sheet,
       ref bool isProtect
    )

    Parameters

    sheet
    Sheet index
    isProtect
    Whether sheet is protected
    See Also