API Reference > OdDb Classes > OdDbTableStyle Class > OdDbTableStyle Methods > setGridLineWeight Method > OdDbTableStyle::setGridLineWeight Method (OdDb::LineWeight, int, int)
OdDbTableStyle::setGridLineWeight Method (OdDb::LineWeight, int, int)
Syntax
C++
virtual void setGridLineWeight(OdDb::LineWeight lineWeight, int gridlineTypes = OdDb::kAllGridLines, int rowTypes = OdDb::kAllRows);
Parameters 
Description 
OdDb::LineWeight lineWeight 
[in] Lineweight.  
int gridlineTypes = OdDb::kAllGridLines 
[in] Gridline types.  
int rowTypes = OdDb::kAllRows 
[in] Row types. 

Sets the grid lineweight for the specified gridline types and row types, or the specified cell and edges in this Table entity (DXF 274-279). 

 

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.