2.2.4.22.23 Grid::IsGridLinesShown

Description

to return grid lines are show or hidden

Syntax

BOOL IsGridLinesShown( BOOL * pbVert, BOOL * pbHoriz )

Parameters

pbVert
[output] pointer to get vertial lines are show or hidden
pbHoriz
[output] pointer to get horizontal lines are show or hidden

Return

TRUE if success else FALSE.

Examples

EX1

void Grid_IsGridLinesShown_ex1()
{
    Worksheet wks = Project.ActiveLayer();
    if(wks)
    {
        Grid gg;
        gg.Attach(wks);
        
        BOOL bVer, bHer;
        gg.IsGridLinesShown(&bVer, &bHer);
        
        gg.ShowGridLines(true, !bVer);
        gg.ShowGridLines(false, !bHer);
    }
}

Remark

See Also

Grid::ShowGridLines

Header to Include

origin.h