ShowGridLines
Set show/hide grid lines
BOOL ShowGridLines( BOOL bVert, BOOL bShow, BOOL bUndo = FALSE )
TRUE if success else FALSE.
EX1
void Grid_ShowGridLines_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::IsGridLinesShown
origin.h