API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::setPatternLength Method
OdDbLinetypeTableRecord::setPatternLength Method
Syntax
C++
void setPatternLength(double vLength);
Parameters 
Description 
double vLength 
[in] Pattern length as a Double value. 

Sets the total length of the linetype pattern in drawing units (DXF 40). This length must specify the sum of all dashes forming the linetype pattern. If the pattern length is set to zero, the linetype record object automatically recalculates the pattern length. The initial value is zero by default. 

 

Example of Working with the Linetype Record Object 

Specific Properties of Linetypes 

OdDbLinetypeTableRecord::patternLength() method

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