[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.RemoveViewport

RemoveViewport Method

RemoveViewport(int, int)

Removes a row or column of viewports.

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

Index of viewport row to remove

int columnViewportIndex

Index of viewport column to remove

RemoveViewport(int, int, int)

Removes a row or column of viewports.

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

Sheet index

int rowViewportIndex

Index of viewport row to remove

int columnViewportIndex

Index of viewport column to remove

Exceptions
Type Condition
ArgumentOutOfRangeException

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