Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / SpreadChart Class / MoveToSheetView Method / MoveToSheetView(String,Boolean) Method
Name of the new sheet view.
if set to true activate the new sheet view.


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 activate the new sheet view.

    Return Value

    true if the move is successful; otherwise, return false
    See Also