Method Load
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Load(string)
Reads a .ctb or .stb file.
public static CadPlotStyleSheet Load(string path)
Parameters
pathstringThe file.
Returns
- CadPlotStyleSheet
The table, its FileName the file's name.
Exceptions
- ArgumentException
Thrown when the path is empty.
- IOException
Thrown when the file cannot be read.
- InvalidDataException
Thrown when the file is not a plot style table: no head, or a damaged stream.