Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / AddViewport Method / AddViewport(Int32,Int32,Int32) Method
Index of sheet to which to add viewports
Index of viewport row to add
Index of viewport column to add


In This Topic
    AddViewport(Int32,Int32,Int32) Method
    In This Topic
    Adds a row or column of viewports to the specified sheet.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddViewport( _
       ByVal sheetIndex As Integer, _
       ByVal rowViewportIndex As Integer, _
       ByVal columnViewportIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As FpSpread
    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
    Index of viewport row to add
    columnViewportIndex
    Index of viewport column to add
    Exceptions
    ExceptionDescription
    Specified sheet index is out of range; must be between 0 and total number of sheets
    See Also