[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.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

Index of viewport row to add

int columnViewportIndex

Index of viewport column to add

AddViewport(int, int, int)

Adds a row or column of viewports to the specified sheet.

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

Index of viewport row to add

int columnViewportIndex

Index of viewport column to add

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is out of range; must be between 0 and total number of sheets