API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::setShapeNumberAt Method
OdDbLinetypeTableRecord::setShapeNumberAt Method
Syntax
C++
void setShapeNumberAt(int dashIndex, OdUInt16 shapeNumber);
Parameters 
Description 
int dashIndex 
[in] Dash index as an Integer value in range [0 <= dashIndex < numDashes].  
OdUInt16 shapeNumber 
[in] Shape code to be set as an Integer value. 

Sets the code of the shape as an inclusion in the dash at the specified index inside the linetype pattern (DXF 75). A zero value removes the shape inclusion. The initial value is zero by default. 

 

Applying a shape inclusion requires the availability of the .shx file which must be previously loaded and the anonymous text style that defines the shape parameters.

Example of Working with the Linetype Dash 

Working with the Linetype Pattern 

OdDbLinetypeTableRecord::shapeNumberAt() method

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