API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::setTextAt Method
OdDbLinetypeTableRecord::setTextAt Method
Syntax
C++
void setTextAt(int dashIndex, const OdString& textString);
Parameters 
Description 
int dashIndex 
[in] Dash index as an Integer value in range [0 <= dashIndex < numDashes].  
const OdString& textString 
[in] Text string to be set. 

Sets the text string as an inclusion in the dash at the specified index inside the linetype pattern (DXF 9). An empty string removes the text inclusion. The initial value is an empty string by default. 

 

Applying a text inclusion requires the availability of a text style that defines the appearance and parameters of the text inside the dash.

Example of Working with the Linetype Dash 

Working with the Linetype Pattern 

OdDbLinetypeTableRecord::textAt() method

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