Table of Contents

Class CadMakeArgs

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The arguments of one Run(CadDocument, string, CadMakeArgs) call: names with a text, a number, a yes or no, a list of texts, a list of numbers or a table of texts, which the app's Remote channel carries as JSON and a drawing worked on in this process takes as they are.

public sealed class CadMakeArgs
Inheritance
CadMakeArgs
Inherited Members

Properties

Values

Gets the arguments set, by name.

Methods

Flag(string, bool)

Gets a yes or no; the fallback where the argument is not given.

Number(string)

Gets a number; null where the argument is not given.

Numbers(string)

Gets a list of numbers; an empty list where the argument is not given.

Rows(string)

Gets a table of texts, row by row; an empty table where the argument is not given.

Set(string, object)

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

Text(string, string)

Gets a text; the fallback where the argument is not given.

Texts(string)

Gets a list of texts; an empty list where the argument is not given.