GetGrid
Worked on grid frame window like Worksheet, MatrixLayer to set the grid related format
void GetGrid( Grid & grid )
EX1
void OriginObject_GetGrid_Ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid grid; wks.GetGrid(grid); BOOL bVert, bHoriz; grid.IsGridLinesShown(&bVert, &bHoriz); grid.ShowGridLines(!bVert, !bHoriz); } }
origin.h