Table of Contents

Class ConstructAction.DefaultInteger

Namespace
CADability.Actions
Assembly
CADability.dll

A DefaultInteger object is usually used in conjunction with a ConstructAction.MultipleChoiceInput object (see DefaultChoice). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the point input is locked, the value is saved in the corresponding DefaultInteger object. DefaultInteger objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

public class ConstructAction.DefaultInteger
Inheritance
ConstructAction.DefaultInteger
Inherited Members

Constructors

DefaultInteger()

Creates an undefined DefaultInteger

public DefaultInteger()

DefaultInteger(int)

Creates a defined DefaultInteger

public DefaultInteger(int StartValue)

Parameters

StartValue int

initial value

Properties

Integer

Gets or sets the current value.

public int Integer { get; set; }

Property Value

int

Operators

implicit operator int(DefaultInteger)

Converts to an int

public static implicit operator int(ConstructAction.DefaultInteger di)

Parameters

di ConstructAction.DefaultInteger

convert this

Returns

int