Table of Contents

Method Of

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Of(double, double)

Makes the frame of an MTEXT with no columns.

public static CadMTextFrame Of(double width, double height = 0)

Parameters

width double

Its width; nought for none.

height double

Its defined height; nought for none.

Returns

CadMTextFrame

The frame.

Exceptions

ArgumentOutOfRangeException

Thrown when a size is below nought or not a finite number.

Of(DxfMText)

Makes the frame of an MTEXT as it is drawn: its width, defined height and columns.

public static CadMTextFrame Of(DxfMText text)

Parameters

text DxfMText

The MTEXT.

Returns

CadMTextFrame

The frame.

Exceptions

ArgumentNullException

Thrown when the MTEXT is null.