API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::thickness Method
OdDbLine::thickness Method
Syntax
C++
virtual double thickness() const;

Returns the thickness of the line entity (DXF 39) in drawing units. Thickness is the extrusion length along the normal. A positive value defines the thickness to be drawn along the normal direction. A negative value defines the thickness to be drawn in the opposite direction from the normal. A zero value defines a line without thickness.

Example of Working with the Line Object 

Specific Line Properties 

OdDbLine::setThickness() method

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