Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLinkedTableData::setCellState Method
Syntax
C++
virtual void setCellState(OdInt32 nRow, OdInt32 nCol, OdDb::CellState nCellState);

Sets the cell state. 

 

Parameters
Description
nRow
[in] Row index of the cell.
nCol
[in] Column index of the cell.
nCellState
[in] Cell state.

Cell state should take one of the following values: 

 

Name
Value
kCellStateNone
0x00
kCellStateContentLocked
0x01
kCellStateContentReadOnly
0x02
kCellStateLinked
0x04
kCellStateContentModifiedAfterUpdate
0x08
kCellStateFormatLocked
0x10
kCellStateFormatReadOnly
0x20
kCellStateFormatModifiedAfterUpdate
0x40
kAllCellStates
(kCellStateContentLocked | kCellStateContentReadOnly |
kCellStateLinked | kCellStateContentModifiedAfterUpdate |
kCellStateFormatLocked | kCellStateFormatReadOnly |
kCellStateFormatModifiedAfterUpdate)

 

Method generates the eInvalidInput exception when the input row number and the column number are less than 0 or greater than the table size.

Copyright © 2002-2022. Open Design Alliance All rights reserved.