Column::GetJustify

Description

Get the column justification.

Syntax

int GetJustify( )

Parameters

Return

Justification for enum{

COL_JUSTIFY_RIGHT = 0,

COL_JUSTIFY_LEFT,

COL_JUSTIFY_CENTER }

Examples

EX1

// Worksheet with at least one column must exist in project
void    Column_GetJustify_Ex1()
{
    WorksheetPage wp = Project.WorksheetPages(0);
    if(!wp)
        return;
    
    Worksheet wks(wp.GetName());
    int iJustify = wks.Columns(0).GetJustify();
    printf("Column %s is using justify type %u\n", wks.Columns(0).GetName(),iJustify);
}

Remark

Get the column justification.

See Also

Column::SetJustify

header to Include

origin.h