2.2.4.46.48 Worksheet::IsHeaderShown

Description

Determine if Row or Column Headers are shown

Syntax

BOOL IsHeaderShown( BOOL bCol = TRUE )

Parameters

bCol
[input] Flag for Row (false) or Column (true); default is Column(true)

Return

TRUE if specified header is visible, FALSE if hidden

Examples

EX1

// Report if Row and Column headers are visible
// Assume a worksheet is active
void Worksheet_IsHeaderShown_Ex1()
{
    Worksheet wks;
    BOOL bRet;
    wks = Project.ActiveLayer();
    if( wks )
    {
        bRet = wks.IsHeaderShown(false);
        if( bRet )
            printf("Row headers are visible\n");
        bRet = wks.IsHeaderShown(true);
        if( bRet )
            printf("Column headers are visible\n");
    }
}

Remark

Determine if Row or Column Headers are shown

See Also

Worksheet::ShowHeaders

Header to Include

origin.h