Table of Contents

Method Resolve

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Resolve(string, string)

Gets the folder a setting stands for: the setting, trimmed, where it names one; where it is empty the folder PlotStyles beside the settings file, which is DefaultPath for the user's own settings file.

public static string Resolve(string setting, string settingsFile = null)

Parameters

setting string

The folder of Global settings, empty for the default.

settingsFile string

The file the settings are kept in (DefaultPath for the user's); null for that.

Returns

string

The folder's path.