2.2.4.22.29 Grid::Rows

ClassName

Grid

AccessType

public

Name

Rows

Declaration

int Rows

Remark

Examples

EX1

//Output the Grid's Cols and Rows, including label rows.
void Grid_Rows_ex1()
{
    Worksheet wks = Project.ActiveLayer();
    if(wks)
    {
        Grid gg;
        gg.Attach(wks);
        if(gg)
        {
            printf("Rows:%d, Cols:%d\n", gg.Rows, gg.Cols);
        }
    }
}

Description

The total number of rows.

Header to Include

origin.h

See Also

Grid::Cols

Reference