Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTable::setGridLineWeight Method (OdUInt32, OdUInt32, OdInt16, OdDb::LineWeight)
Syntax
C++
virtual void setGridLineWeight(OdUInt32 row, OdUInt32 column, OdInt16 edgeTypes, OdDb::LineWeight lineWeight);

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

 

Parameters
Description
row
[in] Row index of the cell.
column
[in] Column index of the cell.
edgeTypes
[in] Edge types.
lineWeight
[in] Lineweight.

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

 

Name
Value
Description
OdDb::kTopMask
1
Top-edge index of the table cell.
OdDb::kRightMask
2
Right-edge index of the table cell.
OdDb::kBottomMask
4
Bottom-edge index of the table cell.
OdDb::kLeftMask
8
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-2022. Open Design Alliance All rights reserved.