API Reference > OdDb Classes > OdDbTableStyle Class > OdDbTableStyle Methods > setGridVisibility Method > OdDbTableStyle::setGridVisibility Method (OdDb::Visibility, int, int)
OdDbTableStyle::setGridVisibility Method (OdDb::Visibility, int, int)
Syntax
C++
virtual void setGridVisibility(OdDb::Visibility gridVisiblity, int gridlineTypes = OdDb::kAllGridLines, int rowTypes = OdDb::kAllRows);
Parameters 
Description 
int gridlineTypes = OdDb::kAllGridLines 
[in] Gridline types.  
int rowTypes = OdDb::kAllRows 
[in] Row types. 
gridVisibility 
[in] Grid visibility.  

Sets the grid visibility for the specified gridline types and row types, in this TableStyle object (DXF 284-289). 

 

gridVisibility must be one of the following: 

 

Name 
Value 
OdDb::kInvisible 
OdDb::kVisible 

 

gridlineTypes must be a combination of one or more of the following: 

 

Name 
Value 
OdDb::kHorzTop 
OdDb::kHorzInside 
OdDb::kHorzBottom 
OdDb::kVertLeft 
OdDb::kVertInside 
0x10 
OdDb::kVertRight 
0x20 

 

rowTypes must be a combination of one or more of the following: 

 

Name 
Value 
OdDb::kTitleRow 
OdDb::kHeaderRow 
OdDb::kDataRow 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.