Table of Contents

Method Rebuild

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Rebuild(DxfUnknownEntity)

Writes the record of an MLINE anew from the points, style, scale, justification and flags, as AutoCAD rewrites it when a vertex is moved: its head and every vertex, the layer, colour, linetype and extended data kept.

public void Rebuild(DxfUnknownEntity mline)

Parameters

mline DxfUnknownEntity

The MLINE to rewrite, in a drawing or not.

Exceptions

ArgumentNullException

Thrown when the MLINE is null.

ArgumentException

Thrown when the entity is not an MLINE, or the points are not ones Build() takes.

InvalidOperationException

Thrown when the MLINE is erased.