Table of Contents

Method Save

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Save(string)

Writes the settings to a JSON file, the folder made where it is missing; LF line ends, two spaces of indent.

public void Save(string path)

Parameters

path string

The file.

Exceptions

ArgumentNullException

Thrown when the path is null.

IOException

Thrown when the file cannot be written.

UnauthorizedAccessException

Thrown when the file may not be written.