API Reference > OdDb Classes > OdDbTableStyle Class > OdDbTableStyle Methods > setTextStyle Method > OdDbTableStyle::setTextStyle Method (OdDbObjectId, int)
OdDbTableStyle::setTextStyle Method (OdDbObjectId, int)
Syntax
C++
virtual void setTextStyle(const OdDbObjectId textStyleId, int rowTypes = OdDb::kAllRows);
Parameters 
Description 
const OdDbObjectId textStyleId 
[in] Text style Object ID. 
int rowTypes = OdDb::kAllRows 
[in] Row types.  

Sets the Object ID of the text style for the specified row types for this TableStyle object (DXF 7). 

 

rowTypes must be a combination of one or more of the following: 

 

Name 
Value 
kTitleRow 
kHeaderRow 
kDataRow 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.