2.2.4.46.85 Worksheet::ShowCol

Description

Use this function to show/hide a column.

Syntax

void ShowCol( int nCol, int nNumCols, BOOL bShow )

Parameters

nCol
[input] zero based index of the first column to show or hide
nNumCols
[input] number of columns to show or hide
bShow
[input] TRUE to show or FALSE to hide the columns

Return

No return value

Examples

EX1

void ShowCol_ex()
{
    Worksheet wks = Project.ActiveLayer();
    
    if (wks)
    {
        wks.ShowCol(1, 1, false); // to hide column 1.
    }
}

Remark

See Also

ShowRow

Header to Included

origin.h