Table of Contents

Constructor DxfMlineStyleElement

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfMlineStyleElement(double, DxfColor, string)

Initializes an element, as AutoCAD's new MlineStyleElement(offset, color, linetypeId): a line of a colour and a linetype at an offset from the line drawn.

public DxfMlineStyleElement(double offset, DxfColor color, string linetype)

Parameters

offset double

The offset from the line drawn, 0.5 to its left, -0.5 to its right.

color DxfColor

The colour: by layer, by block or an index.

linetype string

The name of the linetype, BYLAYER or BYBLOCK or one of the drawing's.

Exceptions

ArgumentNullException

Thrown when the colour or the linetype is null.

ArgumentException

Thrown when the offset is not a finite number or the linetype is empty.