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
textstringThe text.
isNamedboolWhether 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.