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.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
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