Table of Contents

Property PolyType

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

PolyType

Gets or sets how the polyline is drawn through its vertices, as AutoCAD's PolyType: fitted with a curve (flag 2 of group 70), with a spline (flag 4, quadratic where group 75 is 5, cubic otherwise), or straight.

public DxfPoly2dType PolyType { get; set; }

Property Value

DxfPoly2dType

Set, the polyline converted to the type as ConvertToPolyType(DxfPoly2dType) converts it; its own type changes nothing.

Exceptions

ArgumentOutOfRangeException

Thrown when the type set is not one of DxfPoly2dType.

InvalidOperationException

Thrown when set on a polyline that is erased, or has too few vertices to fit.