Table of Contents

Property Value

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

Value

Gets or sets the value: a double, an int, a bool, a string or, for a choice, the name of the value. A value of another type is converted as the invariant culture reads it, so "2.5" sets a number.

public object Value { get; set; }

Property Value

object

Exceptions

ArgumentNullException

Thrown when the value set is null for any kind but a text.

ArgumentException

Thrown when the value set cannot be read as the setting's kind, or names no choice.

ArgumentOutOfRangeException

Thrown when a number set is not finite or lies outside Minimum and Maximum.