Table of Contents

Constructor DxfMlineBuilder

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfMlineBuilder(DxfMlineStyle)

Initializes a builder of a multiline of a style, as AutoCAD's new Mline() with its Style set: scale 1, justified at its top, open, the normal (0, 0, 1), with no points yet.

public DxfMlineBuilder(DxfMlineStyle style)

Parameters

style DxfMlineStyle

The style of a drawing, of at least one element.

Exceptions

ArgumentNullException

Thrown when the style is null.

ArgumentException

Thrown when the style is not of a drawing.

DxfMlineBuilder(DxfUnknownEntity)

Initializes a builder from a multiline of a drawing: its style, scale, justification, flags, normal and points, and the stretches of its elements, as its record holds them.

public DxfMlineBuilder(DxfUnknownEntity mline)

Parameters

mline DxfUnknownEntity

The MLINE, a DxfUnknownEntity of that type, in a drawing that has its style.

Exceptions

ArgumentNullException

Thrown when the MLINE is null.

ArgumentException

Thrown when the entity is not an MLINE.

InvalidOperationException

Thrown when the MLINE's drawing has no MLINESTYLE of its handle or name, or a vertex holds another count of elements than the style, as Explode() refuses it.