Constructor CadMTextParagraph
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadMTextParagraph(IReadOnlyList<CadMTextRun>, char, string)
Makes a paragraph.
public CadMTextParagraph(IReadOnlyList<CadMTextRun> runs, char alignment = '\0', string codes = null)
Parameters
runsIReadOnlyList<CadMTextRun>The runs.
alignmentcharHow it is aligned: l, c, r, j or d as
\pxqwrites them; nought for as the MTEXT is attached.codesstringOther paragraph codes (
\pi-3,l3;), kept as written; null for none.
Exceptions
- ArgumentNullException
Thrown when the runs are null.