API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setGridLineWeight Method > OdDbTable::setGridLineWeight Method (OdUInt32, OdUInt32, OdInt16, OdDb::LineWeight)
OdDbTable::setGridLineWeight Method (OdUInt32, OdUInt32, OdInt16, OdDb::LineWeight)
Syntax
C++
virtual void setGridLineWeight(OdUInt32 row, OdUInt32 column, OdInt16 edgeTypes, OdDb::LineWeight lineWeight);
Parameters 
Description 
OdUInt32 row 
[in] Row index of the cell.  
OdUInt32 column 
[in] Column index of the cell.  
OdInt16 edgeTypes 
[in] Edge types.  
OdDb::LineWeight lineWeight 
[in] Lineweight. 

Sets the grid lineweight for the specified cell and edges in this table entity (DXF 274-279). 

 

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

 

Name 
Value 
Description 
OdDb::kTopMask 
Top-edge index of the table cell. 
OdDb::kRightMask 
Right-edge index of the table cell. 
OdDb::kBottomMask 
Bottom-edge index of the table cell. 
OdDb::kLeftMask 
Left-edge index of the table cell. 

 

Method generates the eInvalidInput exception when the row argument is more than the number of rows or the column argument is more than the number of columns.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.