Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / SheetActionsCommand Class / ProtectSheet Method / ProtectSheet(IChart,ChartLocks,String) Method


In This Topic
    ProtectSheet(IChart,ChartLocks,String) Method
    In This Topic
    Protects a chartsheet.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ProtectSheet( _
       ByVal chartsheet As IChart, _
       ByVal chartLocks As ChartLocks, _
       Optional ByVal password As String _
    ) As SheetActionsCommand
    'Usage
     
    
    Dim chartsheet As IChart
    Dim chartLocks As ChartLocks
    Dim password As String
    Dim value As SheetActionsCommand
     
    value = SheetActionsCommand.ProtectSheet(chartsheet, chartLocks, password)
    public static SheetActionsCommand ProtectSheet( 
       IChart chartsheet,
       ChartLocks chartLocks,
       string password
    )

    Parameters

    chartsheet
    chartLocks
    password
    See Also