Worksheet.GetLastAddress Method

PicoXLSX

PicoXLSX

WorksheetGetLastAddress Method

Gets the last existing row or column number of the current worksheet (zero-based)

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
private int GetLastAddress(
	bool column
)

Parameters

column
Type: SystemBoolean
If true, the output will be the last column, otherwise the last row

Return Value

Type: Int32
Last row or column number (zero-based)
See Also