Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Chart Namespace / SpreadChart Class / MoveToSheetView Method / MoveToSheetView(String,Boolean) Method
Name of the new sheet view.
if set to true activates the new sheet view.
Example


In This Topic
    MoveToSheetView(String,Boolean) Method
    In This Topic
    Moves the current chart to the new sheet view.
    Syntax
    'Declaration
     
    
    Public Overloads Function MoveToSheetView( _
       ByVal sheetName As String, _
       ByVal activateNewSheetView As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As SpreadChart
    Dim sheetName As String
    Dim activateNewSheetView As Boolean
    Dim value As Boolean
     
    value = instance.MoveToSheetView(sheetName, activateNewSheetView)
    public bool MoveToSheetView( 
       string sheetName,
       bool activateNewSheetView
    )

    Parameters

    sheetName
    Name of the new sheet view.
    activateNewSheetView
    if set to true activates the new sheet view.

    Return Value

    true if the move is successful; otherwise, returns false
    Example
    This example uses the MoveToSheetView method.
    See Also