API Reference > OdDb Classes > OdDbFormattedTableData Class > OdDbFormattedTableData Methods > OdDbFormattedTableData::gridLineWeight Method
OdDbFormattedTableData::gridLineWeight Method
Syntax
C++
virtual OdDb::LineWeight gridLineWeight(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const;
Parameters 
Description 
OdInt32 nRow 
[in] Row index.  
OdInt32 nCol 
[in] Column index.  
OdDb::GridLineType nGridLineType 
[in] Grid linetype.  

Lineweight value.

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

 

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 lineweight should take one of the following values: 

 

Name 
Value 
kLnWt000 
kLnWt005 
kLnWt009 
kLnWt013 
13 
kLnWt015 
15 
kLnWt018 
18 
kLnWt020 
20 
kLnWt025 
25 
kLnWt030 
30 
kLnWt035 
35 
kLnWt040 
40 
kLnWt050 
50 
kLnWt053 
53 
kLnWt060 
60 
kLnWt070 
70 
kLnWt080 
80 
kLnWt090 
90 
kLnWt100 
100 
kLnWt106 
106 
kLnWt120 
120 
kLnWt140 
140 
kLnWt158 
158 
kLnWt200 
200 
kLnWt211 
211 
kLnWtByLayer 
-1 
kLnWtByBlock 
-2 
kLnWtByLwDefault 
-3 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.