ShowGridLines
Show or Hide the display of vertical (Column) or horizontal (Row) grid lines in a workbook
BOOL ShowGridLines( BOOL bShowVert = TRUE, BOOL bShowHoriz = TRUE )
Function should always return TRUE
EX1
// Toggle the state of worksheet grid lines void Worksheet_ShowGridLines_Ex1() { Worksheet wks; wks = Project.ActiveLayer(); if ( wks ) { BOOL bVer, bHor; wks.IsGridLinesShown( bVer, bHor ); wks.ShowGridLines( !bVer, !bHor ); } }
Worksheet::IsGridLinesShown
origin.h