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

Sets the Object ID of the text style for the specified cell in this table entity (DXF 7). 

 

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.