2.2.4.5.31 Column::GetUnits

Description

Get the units in a column label.

Syntax

string GetUnits( )

Parameters

Return

The units.

Examples

EX1

// Assume a worksheet is active that has at least one column
void    Column_GetUnits_Ex1()
{
    Worksheet    wks;
    wks = Project.ActiveLayer();
    string    strUnits = wks.Columns(0).GetUnits();
    printf("Units are %s\n", strUnits);
}

Remark

Get the units in a column label.

See Also

Column::SetUnits, Column::GetExtendedLabel, Column::SetExtendedLabel

Header to Include

origin.h