Table of Contents

Method Save

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Save(string)

Writes the set to a JSON file, the folder made where it is missing, as ToJson() gives it; the set is no longer modified.

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.