[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.AddNewSheetView

AddNewSheetView Method

AddNewSheetView(int, string, int, int, bool, bool)

Creates a new SheetView and inserts or replaces the sheet at the specified sheet index.

Declaration
public SheetView AddNewSheetView(int sheetIndex = -1, string sheetName = null, int rowCount = -1, int columnCount = -1, bool shareNamedStyle = true, bool replace = false)
Public Function AddNewSheetView(Optional sheetIndex As Integer = -1, Optional sheetName As String = Nothing, Optional rowCount As Integer = -1, Optional columnCount As Integer = -1, Optional shareNamedStyle As Boolean = True, Optional replace As Boolean = False) As SheetView
Parameters
Type Name Description
int sheetIndex

The sheet index is where the new SheetView is inserted or replaced. If sheetIndex is -1, the new SheetView is added to the end of SheetViewCollection.

string sheetName

The sheet name.

int rowCount

Row count of the new sheet. -1 for default count.

int columnCount

Column count of the new sheet. -1 for default count.

bool shareNamedStyle

Indicates whether the new SheetView shares the named style of Spread

bool replace

Indicates whether the new SheetView replaces the current sheet at the specified sheet index

Returns
Type Description
SheetView