Share

setTextStyle Method

Overload List

Method Description
AcDbTable::setTextStyle (AcDbObjectId&, int) This function sets the table object to use the AcDbTextStyleTableRecord specified by id for the specified row types. Different row types can be OR'd.The possible row type values are AcDb::kDataRow, AcDb::kTitleRow, and AcDb::kHeaderRow. If no row type is specified, this function sets all the possible row types.Returns Acad::eOk if successful. Otherwise, returns Acad::eInvalidInput.This method is deprecated and may be removed in a future release.
AcDbTable::setTextStyle (int, int, AcDbObjectId&) This function sets the table object to use the AcDbTextStyleTableRecord specified by id for the specified cell.Returns Acad::eOk if successful. Otherwise, returns Acad::eInvalidInput.
AcDbTable::setTextStyle (int, int, int, AcDbObjectId&) Sets the text style of the content at the specified content index.Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.

Was this information helpful?