2.2.4.5.24 Column::GetParameter

Description

Get one parameter value from column label.

Syntax

BOOL GetParameter( string & str, int index = 0 )

Parameters

str
[output] The string variable which will receive the value.
index
[input] the parameter index. default is 0.

Return

TRUE if OK, otherwise FALSE;

Examples

EX1

// Assume a worksheet is active that has at least one column
void    Column_GetParameter_Ex1()
{
    Worksheet    wks;
    wks = Project.ActiveLayer();
    string    strParameter;
    int        iIndex = 0;
    while( wks.Columns(0).GetParameter(strParameter, iIndex))
    {
        printf("%s\n", strParameter);
        iIndex++;
    }
}

Remark

Get one parameter value from column label.

See Also

Column::GetExtendedLabel, Column::SetExtendedLabel

Header to Include

origin.h