Click or drag to resize
NanoXLSX

WorksheetGetBoundaryDataNumber Method

Gets either the minimum or maximum row or column number, considering only calls with data

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
private int GetBoundaryDataNumber(
	bool row,
	bool min,
	bool ignoreEmpty
)

Parameters

row  Boolean
If true, the min or max row is returned, otherwise the column
min  Boolean
If true, the min value of the row or column is defined, otherwise the max value
ignoreEmpty  Boolean
If true, empty cell values are ignored, otherwise considered without checking the content

Return Value

Int32
Min or max number, or -1 if not defined
See Also