API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setValue Method > OdDbTable::setValue Method (OdUInt32, OdUInt32, OdString&, OdValue::ParseOption)
OdDbTable::setValue Method (OdUInt32, OdUInt32, OdString&, OdValue::ParseOption)
Syntax
C++
void setValue(OdUInt32 row, OdUInt32 col, OdString& pszText, OdValue::ParseOption nOption);
Parameters 
Description 
OdUInt32 row 
[in] Row index. Should be more than or equal to 0 and less than the number of rows.  
OdUInt32 col 
[in] Column index. Should be more than or equal to 0 and less than the number of columns.  
OdString& pszText 
[in] Text for converting to set value.  
OdValue::ParseOption nOption 
[out] Parse option. 

Returns eOk if successful or an appropriate error code.

Sets the value of the first content of a cell. 

 

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