Table of Contents

Method FromText

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FromText(string)

Reads plain words: each line a paragraph, in no look of its own.

public static CadMTextContent FromText(string text)

Parameters

text string

The words; a carriage return, a line feed or both end a line.

Returns

CadMTextContent

The paragraphs of runs; one empty paragraph for no words.

Exceptions

ArgumentNullException

Thrown when the text is null.