Table of Contents

Method ConvertTo

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ConvertTo(bool)

Gets a DxfPolyline2d of the polyline's vertices, look and data, as AutoCAD's ConvertTo: its vertices with their bulges and widths, its normal, elevation, thickness, closure and linetype generation; with transferId the new polyline takes this one's place in its drawing, its handle, owner, extension dictionary and reactors, and this one is erased, as AutoCAD hands the object id over.

public DxfPolyline2d ConvertTo(bool transferId)

Parameters

transferId bool

Whether the new polyline takes this one's place; this one is then to be in a file.

Returns

DxfPolyline2d

The polyline of the plane: in no file, or in this one's place.

Exceptions

InvalidOperationException

Thrown when the place is to be taken and this polyline is in no file, or is erased.