Column::GetUpperBound

Description

Get the row index of the last data in this column. Index values are 0 based.

Syntax

int GetUpperBound( )

Parameters

Return

Returns the row index of the last data in this column.

Examples

EX1

void    Column_GetUpperBound_Ex1()
{
    Worksheet wks = Project.ActiveLayer();
    Column colObj(wks, 0);
    int nR1 = 20;        
    colObj.SetUpperBound(nR1);
    nR1 == colObj.GetUpperBound();
}

Remark

GetUpperBound is synonym for GetUpperIndex similarily for SetUpperIndex and SetUpperBound

See Also

Column::GetLowerBound, vectorbase::GetUpperBound, vectorbase::GetLowerBound

header to Include

origin.h