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