ES3Spreadsheet.GetColumnLength
Description
Gets the height of a column, or returns zero if no values have been set in the column.
The height is the highest row with a value in that column, plus 1. It is not the number of values which have been set in that column.
Parameters
Col | The column we want to get the height of |
Returns
The length of the column, or zero if no items have been set in that column or it’s out of bounds.
Examples
1 2 3 4 5 6 |
// Create a blank ES3Spreadsheet and load our CSV into it. var sheet = new ES3Spreadsheet(); sheet.Load("myData.csv"); // Get the length of the third column. int columnLength = sheet.GetColumnLength(2); |