ES3Spreadsheet.GetRowLength

public int GetRowLength(int row)

Description

Gets the width of a row, or returns zero if no values have been set in the row or it’s out of bounds.

The length is the highest column with a value in that row, plus 1. It is not the number of values which have been set in that row.

Parameters

row The row we want to get the width of

Returns

The length of the row, or zero if no items have been set in that row or it’s out of bounds.

Examples