API Reference > OdDb Classes > OdDbFormattedTableData Class > OdDbFormattedTableData Methods > OdDbFormattedTableData::getGridProperty Method
OdDbFormattedTableData::getGridProperty Method
Syntax
C++
virtual void getGridProperty(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdGridProperty& gridProp) const;
Parameters 
Description 
OdInt32 nRow 
[in] Row index.  
OdInt32 nCol 
[in] Column index.  
OdDb::GridLineType nGridLineType 
[in] Grid linetype.  
OdGridProperty& gridProp 
[out] Grid line property. 

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

 

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 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.