【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.46.87 Worksheet::ShowGridLines
Contents
Description
Show or Hide the display of vertical (Column) or horizontal (Row) grid lines in a workbook
Syntax
BOOL ShowGridLines( BOOL bShowVert = TRUE, BOOL bShowHoriz = TRUE )
Parameters
- bShowVert
- [input] Flag to show(TRUE) or hide(FALSE) vertical grid lines in worksheet.
- default is TRUE.
- bShowHoriz
- [input] Flag to show(TRUE) or hide(FALSE) horizontal grid lines in worksheet.
- default is TRUE.
Return
Function should always return TRUE
Examples
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 ); } }
Remark
Show or Hide the display of vertical (Column) or horizontal (Row) grid lines in a workbook
See Also
Header to Include
origin.h