[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.AddViewport

AddViewport Method

AddViewport(int, int)

Adds a row or column of viewports.

Declaration
public void AddViewport(int rowViewportIndex, int columnViewportIndex)
Public Sub AddViewport(rowViewportIndex As Integer, columnViewportIndex As Integer)
Parameters
Type Name Description
int rowViewportIndex

Viewport row index

int columnViewportIndex

Viewport column index

AddViewport(int, int, int)

Adds a row or column of viewports.

Declaration
public void AddViewport(int sheetIndex, int rowViewportIndex, int columnViewportIndex)
Public Sub AddViewport(sheetIndex As Integer, rowViewportIndex As Integer, columnViewportIndex As Integer)
Parameters
Type Name Description
int sheetIndex

Index of sheet to which to add viewports

int rowViewportIndex

Viewport row index

int columnViewportIndex

Viewport column index

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is not valid; must be between zero and the number of sheets.