2.2.4.5.54 Column::SetLongName

Description

Set the long name of a column.

Syntax

BOOL SetLongName( LPCSTR lpcszLongName )

Parameters

lpcszLongName
[input] pointer to the long name to set

Return

TRUE if OK.

Examples

EX1

// Create a new worksheet, add a column and assign long names to each column
void    Column_SetLongName_Ex1()
{
    Worksheet    wks;
    wks.Create("Origin", CREATE_VISIBLE);
    wks.AddCol();
    BOOL bRet = wks.Columns(0).SetLongName("Start of Run");
    bRet = wks.Columns(1).SetLongName("Yield at Stage 1");
    bRet = wks.Columns(2).SetLongName("Yield at Stage 2");
}

Remark

Set the long name of a column.

See Also

Column::GetLongName, Column::GetExtendedLabel, Column::SetExtendedLabel

Header to Include

origin.h