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.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
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