Click or drag to resize
PicoXLSX

WorkbookShortenerUp(Int32, Boolean) Method

Moves the cursor the number of defined rows up

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.5+6ab75fa9edd66571b0de8e574b48108101297ca1
Syntax
C#
public void Up(
	int numberOfRows,
	bool keepColumnPosition = false
)

Parameters

numberOfRows  Int32
Number of rows to move.
keepColumnPosition  Boolean  (Optional)
If true, the column position is preserved, otherwise set to 0
Remarks
An exception will be thrown if the row number is below 0. Values (number of rows) can be also negative. However, this is the equivalent of the function Down(Int32, Boolean)
See Also