API Reference > OdDb Classes > OdDbLinkedTableData Class > OdDbLinkedTableData Methods > setDataFormat Method > OdDbLinkedTableData::setDataFormat Method (OdInt32, OdInt32, OdUInt32, OdString)
OdDbLinkedTableData::setDataFormat Method (OdInt32, OdInt32, OdUInt32, OdString)
Syntax
C++
virtual void setDataFormat(OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString sFormat);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
OdUInt32 nContent 
[in] Number of content.  
const OdString sFormat 
[in] Data format. 

Sets data format of the specified content of a cell. 

 

Method generates the eInvalidInput exception when the input row number and column number are less than 0 or greater than the table size. Method generates the eIsWriteProtected exception when the content is not editable (!isContentEditable()).

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