Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTableStyle::setGridVisibility Method (OdDb::Visibility, int, int)
Syntax
C++
virtual void setGridVisibility(OdDb::Visibility gridVisiblity, int gridlineTypes = OdDb::kAllGridLines, int rowTypes = OdDb::kAllRows);

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

 

Parameters
Description
gridlineTypes
[in] Gridline types.
rowTypes
[in] Row types.
gridVisibility
[in] Grid visibility.

gridVisibility must be one of the following: 

 

Name
Value
OdDb::kInvisible
1
OdDb::kVisible
0

 

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

 

Name
Value
OdDb::kHorzTop
1
OdDb::kHorzInside
2
OdDb::kHorzBottom
4
OdDb::kVertLeft
8
OdDb::kVertInside
0x10
OdDb::kVertRight
0x20

 

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

 

Name
Value
OdDb::kTitleRow
1
OdDb::kHeaderRow
2
OdDb::kDataRow
4
Copyright © 2002-2022. Open Design Alliance All rights reserved.