Column::GetDigits

Description

Get the digit value for numeric display mode.

Syntax

int GetDigits( )

Parameters

Return

The Digits value, -1 for error.

Examples

EX1

// Worksheet with at least one column must exist in project
void    Column_GetDigits_Ex1()
{
    WorksheetPage wp = Project.WorksheetPages(0);
    if(!wp)
        return;
    
    Worksheet wks(wp.GetName());
    int iDigits = wks.Columns(0).GetDigits();
    printf("Numeric Display digit value for column %s is %u\n", wks.Columns(0).GetName(), iDigits);
}

Remark

Get the digit value for numeric display mode.

See Also

Column::GetDigitMode, Column::SetDigitMode, Column::SetDigits

header to Include

origin.h