Table of Contents

Method FromText

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FromText(string, bool)

Reads a table from its text, as ToText() gives it and AutoCAD's files hold it.

public static CadPlotStyleSheet FromText(string text, bool isNamed)

Parameters

text string

The text.

isNamed bool

Whether the table is a named one; the head of a file says it, a text does not.

Returns

CadPlotStyleSheet

The table, its FileName empty.

Exceptions

ArgumentNullException

Thrown when the text is null.