Click or drag to resize
NanoXLSX

WorksheetGoToNextColumn(Int32, Boolean) Method

Moves the current position to the next column with the number of cells to move

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public void GoToNextColumn(
	int numberOfColumns,
	bool keepRowPosition = false
)

Parameters

numberOfColumns  Int32
Number of columns to move
keepRowPosition  Boolean  (Optional)
If true, the row position is preserved, otherwise set to 0
Remarks
The value can also be negative. However, resulting column numbers below 0 or above 16383 will cause an exception
See Also