Method WriteAfter
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
WriteAfter(CadMTextParagraphFormat, double)
Writes the codes that make this format of the format of the paragraph before, as AutoCAD writes them: only what
differs, in the order i, l, r, b, a, s, t, after x in heights of the MTEXT where a value is not nought.
A tab stop at 10 after a paragraph of none, in an MTEXT 2.5 high, writes \pxt4;; going back to none,
\ptz;; the same format writes nothing.
public string WriteAfter(CadMTextParagraphFormat before, double height)
Parameters
beforeCadMTextParagraphFormatThe format of the paragraph before; null for Default.
heightdoubleThe MTEXT's height, above nought.
Returns
- string
The codes; empty for none.
Exceptions
- ArgumentOutOfRangeException
Thrown when the height is not a finite number above nought.