Method WithLineSpacing
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
WithLineSpacing(char, double)
Gets the format with a line spacing of its own, or none.
public CadMTextParagraphFormat WithLineSpacing(char mode, double value)
Parameters
modecharm multiple, e exactly, a at least; nought for the MTEXT's own.
valuedoubleThe factor of a multiple, the distance of the others.
Returns
- CadMTextParagraphFormat
The format.
Exceptions
- ArgumentException
Thrown when the mode is none of m, e, a and nought.
- ArgumentOutOfRangeException
Thrown when the value is not a finite number above nought.