CadMTextParagraph
from OpenCAD2D import CadMTextParagraph
class CadMTextParagraph(System.Object) ยท CadMTextParagraph in the .NET reference
A paragraph of an MTEXT: its runs, how it is aligned (\pxqc;) and any other paragraph codes it carries, kept as written.
Constructors
__init__
def __init__(
self,
runs: System.Collections.Generic.IReadOnlyList[CadMTextRun],
alignment: str = ...,
codes: str | None = ...,
) -> None
Makes a paragraph.
Properties and fields
Alignment
@property
def Alignment(self) -> str
Gets how the paragraph is aligned: l, c, r, j or d; nought for as the MTEXT is attached.
Codes
@property
def Codes(self) -> str | None
Gets the paragraph codes other than the alignment, as written; null for none.
Runs
@property
def Runs(self) -> System.Collections.Generic.IReadOnlyList[CadMTextRun]
Gets the runs, in order.
Text
@property
def Text(self) -> str
Gets the letters of the paragraph as shown.