API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::setNumDashes Method
OdDbLinetypeTableRecord::setNumDashes Method
Syntax
C++
void setNumDashes(int numberDashes);
Parameters 
Description 
int numberDashes 
[in] Number of dashes [0,2..12]. 

Sets the number of dashes for the linetype (DXF 73). If the number of dashes is set to zero, the linetype defines a solid line. If the linetype pattern contains dashes, it must contain at least two of them. The initial value is zero by default. 

 

Example of Working with the Linetype Record Object 

Working with the Linetype Pattern 

OdDbLinetypeTableRecord::numDashes() method

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