API Reference > OdDb Classes > OdDb2dPolyline Class > OdDb2dPolyline Methods > OdDb2dPolyline::setPolyType Method
OdDb2dPolyline::setPolyType Method
Syntax
C++
void setPolyType(OdDb::Poly2dType polyType);
Parameters 
Description 
OdDb::Poly2dType polyType 
[in] Polyline type. 

Sets the type of this Polyline entity. 

 

polyType must be one of the following: 

 

Name 
Value 
Description 
OdDb::k2dSimplePoly 
Simple polyline. 
OdDb::k2dFitCurvePoly 
Curve fit (DXF 70, bit 0x04). 
OdDb::k2dQuadSplinePoly 
Quadratic B-spline fit (DXF 80, bit 0x08; DXF 75 == 5). 
OdDb::k2dCubicSplinePoly 
Cubic B-spline-fit (DXF 80, bit 0x08; DXF 75 == 6). 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.