Table of Contents

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

runs IReadOnlyList<CadMTextRun>

The runs.

alignment char

How it is aligned: l, c, r, j or d as \pxq writes them; nought for as the MTEXT is attached.

codes string

Other paragraph codes (\pi-3,l3;), kept as written; null for none.

Exceptions

ArgumentNullException

Thrown when the runs are null.