Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTable::setGridVisibility Method (OdUInt32, OdUInt32, OdInt16, OdDb::Visibility)
Syntax
C++
virtual void setGridVisibility(OdUInt32 row, OdUInt32 column, OdInt16 edgeTypes, OdDb::Visibility gridVisibility);

Sets the grid visibility for the specified cell and edges in this table entity (DXF 284-289). 

 

Parameters
Description
row
[in] Row index of the cell.
column
[in] Column index of the cell.
edgeTypes
[in] Edge types.
gridVisibility
[in] Grid visibility.

gridVisibility must be one of the following: 

 

Name
Value
OdDb::kInvisible
1
OdDb::kVisible
0

 

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.