API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setCustomData Method > OdDbTable::setCustomData Method (OdInt32, OdInt32, OdString&, OdValue*)
OdDbTable::setCustomData Method (OdInt32, OdInt32, OdString&, OdValue*)
Syntax
C++
void setCustomData(OdInt32 row, OdInt32 col, const OdString& sKey, const OdValue* pData);
Parameters 
Description 
OdInt32 row 
[in] Row index.  
OdInt32 col 
[in] Column index.  
const OdString& sKey 
[in] Key to use for the custom data.  
const OdValue* pData 
[in] Custom data value. 

Sets the custom data value of the cell, column or row. Use a valid row index and pass the column index '-1' to get the row data. Use a valid column index and pass the row index '-1' to get the column data. 

 

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