Table of Contents

Method Apply

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Apply(DxfMlineStyleSettings)

Gives the style the settings, as AutoCAD sets the values of an MlineStyle before it is added: its record written anew from them, its name and handle kept, the elements from the greatest offset to the least. A multiline already drawn by the style takes the new elements when its record is built anew (DxfMlineBuilder); AutoCAD's MLSTYLE refuses to change the elements of a style a multiline is drawn by.

public void Apply(DxfMlineStyleSettings settings)

Parameters

settings DxfMlineStyleSettings

What the style is to be made of.

Exceptions

ArgumentNullException

Thrown when the settings are null.

ArgumentException

Thrown when the settings are not ones AutoCAD takes (DxfMlineStyleSettings has one to sixteen elements), or an element is drawn with a linetype the drawing has not.