API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::dashLengthAt Method
OdDbLinetypeTableRecord::dashLengthAt Method
Syntax
C++
double dashLengthAt(int dashIndex) const;
Parameters 
Description 
int dashIndex 
[in] Dash index as an Integer value in range [0 <= dashIndex < numDashes]. 

Returns the length of the linetype dash at the specified index in drawing units (DXF 49). If the length value is positive, the dash is drawn. If a length value is negative, the dash is not drawn (appears as a space). If the length value is zero, a point is drawn (appears as a dot). 

 

Example of Working with the Linetype Dash 

Working with the Linetype Pattern 

OdDbLinetypeTableRecord::setDashLengthAt() method

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