Method Save
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Save(string)
Writes the table to a .ctb or .stb file (ToBytes()), the folder made where it is missing, and sets FileName to the file's name.
public void Save(string path)
Parameters
pathstringThe file, as D:\Plot Styles\site.ctb; a colour-dependent table is a .ctb, a named one a .stb.
Exceptions
- ArgumentException
Thrown when the path is empty or its extension is not the table's.
- IOException
Thrown when the file cannot be written.
- UnauthorizedAccessException
Thrown when the file may not be written.