API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > OdDbTable::gridLineStyle Method
OdDbTable::gridLineStyle Method
Syntax
C++
OdDb::GridLineStyle gridLineStyle(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const;
Parameters 
Description 
OdInt32 row 
[in] Row index.  
OdInt32 col 
[in] Column index.  
OdDb::GridLineType nGridLineType 
[in] Grid linetype.  

Grid linestyle.

Returns the grid linestyle of a cell, row or column. Use a valid row index and pass the column index '-1' to get the row grid line style. Use a valid column index and pass the row index '-1' to get the column grid line style. 

 

Grid linetype should take one of the following values: 

 

Name 
Value 
kInvalidGridLine 
0x00 
kHorzTop 
0x01 
kHorzInside 
0x02 
kHorzBottom 
0x04 
kVertLeft 
0x08 
kVertInside 
0x10 
kVertRight 
0x20 
kHorzGridLineTypes 
kHorzTop | kHorzBottom | kHorzInside 
kVertGridLineTypes 
kVertLeft | kVertRight | kVertInside 
kOuterGridLineTypes 
kHorzTop | kHorzBottom | kVertLeft | kVertRight 
kInnerGridLineTypes 
kHorzInside | kVertInside 
kAllGridLineTypes 
kOuterGridLineTypes | kInnerGridLineTypes 

 

Grid line style should take one of the following values: 

 

Name 
Value 
kGridLineStyleSingle 
kGridLineStyleDouble 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.