Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / AddViewport Method / AddViewport(Int32,Int32,Int32) Method
Index of sheet to which to add viewports
Viewport row index
Viewport column index


In This Topic
    AddViewport(Int32,Int32,Int32) Method
    In This Topic
    Adds a row or column of viewports.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddViewport( _
       ByVal sheetIndex As Integer, _
       ByVal rowViewportIndex As Integer, _
       ByVal columnViewportIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As SpreadView
    Dim sheetIndex As Integer
    Dim rowViewportIndex As Integer
    Dim columnViewportIndex As Integer
     
    instance.AddViewport(sheetIndex, rowViewportIndex, columnViewportIndex)
    public void AddViewport( 
       int sheetIndex,
       int rowViewportIndex,
       int columnViewportIndex
    )

    Parameters

    sheetIndex
    Index of sheet to which to add viewports
    rowViewportIndex
    Viewport row index
    columnViewportIndex
    Viewport column index
    Exceptions
    ExceptionDescription
    Specified sheet index is not valid; must be between zero and the number of sheets.
    See Also