Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbFormattedTableData::setTextStyle Method (OdInt32, OdInt32, OdInt32, const OdDbObjectId&)
Syntax
C++
virtual void setTextStyle(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdDbObjectId& idTextStyle);

Sets the text style for the specified content of a cell. 

 

Parameters
Description
nRow
[in] Row index of the cell.
nCol
[in] Column index of the cell.
nContent
[in] Content index.
idTextStyle
[in] Text style object ID.

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.