Table of Contents

Method Load

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Load(string)

Reads settings from a JSON file, never throwing: no file gives the defaults; a file that does not read gives the defaults, said once in the log; each value that is missing keeps its default, and each that is not valid falls back to its default with a Warn naming it.

public static GlobalSettings Load(string path)

Parameters

path string

The file.

Returns

GlobalSettings

The settings.