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

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

 

gridVisibility must be one of the following: 

 

Name 
Value 
OdDb::kInvisible 
OdDb::kVisible 

 

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.