Common elements and attributes : Range element

Range element
The Range element is used to specify a range of values or a list of values for a parameter. This element has the attributes defined in this section.
Value attribute
The value of the Value attribute is determined by the value of the Parameter element’s Type attribute as follows:
When Type is 8 or 12, two Range elements can each have a Value attribute that contains an integer to specify a minimum value and a maximum value.
When the value of the Type attribute is 3 or 12, each Range element’s Value attribute can contain a menu option.
Required: Yes
ValueToDisplay attribute
The ValueToDisplay attribute specifies the value that is displayed in the Task Parameters area for a Parameter element’s range of values, as specified in the Range elements’ Value attributes.
The values of ValueToDisplay and Value are not always the same. For example, if Value is JavaScript variable "=variableA", then ValueToDisplay should be the text string "variableA".
The ValueToDisplay attribute, which is not set by the plugin developer, is seldom used. Therefore, the attribute is not shown in any of the sample code in this guide.
Required: No
Default value: None