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
offsetdoubleThe offset from the line drawn, 0.5 to its left, -0.5 to its right.
colorDxfColorThe colour: by layer, by block or an index.
linetypestringThe name of the linetype,
BYLAYERorBYBLOCKor 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.