【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.22.37 Grid::ShowGridLines
Contents
Description
Set show/hide grid lines
Syntax
BOOL ShowGridLines( BOOL bVert, BOOL bShow, BOOL bUndo = FALSE )
Parameters
- bVert
- [input] true for vertical lines, else for horizontal lines.
- bShow
- [input] true to set show
- bUndo
- [input] true to support undo
Return
TRUE if success else FALSE.
Examples
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); } }
Remark
See Also
Header to Include
origin.h