Spread WinForms 15
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


AddViewport(Int32,Int32,Int32) Method
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)

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