Table of Contents

Method Set

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Set(string, object)

Sets an argument: a string, a double, a bool, a string[], a double[] or a string[][]; null leaves it out.

public CadMakeArgs Set(string name, object value)

Parameters

name string

The name.

value object

The value.

Returns

CadMakeArgs

These arguments, so that a call is made in one chain.

Exceptions

ArgumentNullException

Thrown when the name is null.

ArgumentException

Thrown when the value is of a kind the arguments do not carry.