IsGridLinesShown
to return grid lines are show or hidden
BOOL IsGridLinesShown( BOOL * pbVert, BOOL * pbHoriz )
TRUE if success else FALSE.
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); } }
Grid::ShowGridLines
origin.h