2.2.4.46.84 Worksheet::ShowLabels

Description

Show [Hide] column labels

Syntax

void ShowLabels( BOOL bShow = TRUE )

Parameters

bShow
[input] TRUE shows Column Labels while FALSE will hide Column Labels.default is TRUE.

Return

void

Examples

EX1

//Set and Show column labels. 
void Worksheet_ShowLabels_Ex1()
{
    WorksheetPage wp = Project.WorksheetPages(0);
    if(!wp)
        return;
    
    Worksheet wks(wp.GetName());
    string strLabel = "Elapsed\n(in sec.)";
    BOOL b = wks.Columns(0).SetLabel(strLabel);
    wks.ShowLabels();
}

Remark

Show [Hide] column labels in Origin c

See Also

Column::SetLabel, Column::GetLabel

Header to Include

origin.h