Click or drag to resize
NanoXLSX

WorkbookGetWorksheet(Int32) Method

Gets a worksheet from this workbook by index

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
public Worksheet GetWorksheet(
	int index
)

Parameters

index  Int32
Index of the worksheet

Return Value

Worksheet
Worksheet with the passed index
Exceptions
ExceptionCondition
WorksheetExceptionThrows a RangeException if the worksheet was not found in the worksheet collection
See Also