API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setFieldId Method > OdDbTable::setFieldId Method (OdUInt32, OdUInt32, OdDbObjectId&)
OdDbTable::setFieldId Method (OdUInt32, OdUInt32, OdDbObjectId&)
Syntax
C++
virtual void setFieldId(OdUInt32 row, OdUInt32 column, const OdDbObjectId& fieldId);
Parameters 
Description 
OdUInt32 row 
[in] Row index of the cell.  
OdUInt32 column 
[in] Column index of the cell.  
const OdDbObjectId& fieldId 
[in] Object ID of the AdDbField. 

Sets the Object ID for OdDbField in the specified cell in this table entity. 

 

Method generates the eInvalidInput exception when the row argument is more than the number of rows, the column argument is more than the number of columns, or the cell type is not OdDb::kTextCell.

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