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
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
textDxfMTextThe MTEXT.
Returns
- CadMTextFrame
The frame.
Exceptions
- ArgumentNullException
Thrown when the MTEXT is null.