Click or drag to resize
PicoXLSX

WorksheetGetMaxRow Method

Gets the maximum row coordinate either from cell data, height definitions or hidden rows

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntax
C#
private int GetMaxRow(
	int cellBoundary,
	int heightBoundary,
	int hiddenBoundary
)

Parameters

cellBoundary  Int32
Row number of max cell data.
heightBoundary  Int32
Row number of max defined row height.
hiddenBoundary  Int32
Row number of max defined hidden row.

Return Value

Int32
Max row number or -1 if nothing valid defined.
See Also