Horizontal slider
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for a horizontal slider animation link.
|
Elements |
Description |
|---|---|
|
Title |
Object name. Optional. |
|
ReferenceLocation |
Reference location: left, center, right. Default is left. |
|
LeftValue |
Left value of a slider. Default is 0. |
|
RightValue |
Right value of a slider. Default is 100. |
|
LeftMovement |
Left horizontal movement. Must range from 0 to 32767. Out of range values are clamped and an error message is logged. Default is 50. |
|
RightMovement |
Right horizontal movement. Must range from 0 to 32767. Out of range values are clamped and an error message is logged. Default is 50. |
|
Expression |
Analog tag or expression. Required. Object is not created if the expression is invalid or missing. |
Example:
<SliderHorizontal>
<Title>SliderHorizontal1</Title>
<ReferenceLocation>Left</ReferenceLocation>
<LeftValue>10.0</LeftValue>
<RightValue>120.0</RightValue>
<LeftMovement>20.0</LeftMovement>
<RightMovement>150.0</RightMovement>
<Expression>
<![CDATA[aTag001]]>
</Expression>
</SliderHorizontal>
Minimal example:
<SliderHorizontal>
<Expression><![CDATA[aTag001]]></Expression>
</SliderHorizontal>