This object is used to format and display a numeric value based on a specified integer value. The VT uses the following equation to format the displayed value:
Displayed value = (Value attribute + Offset) × Scale factor.
Depending on the “Options” attribute, the displayed values are either truncated or rounded to the number of decimal places specified in the “Number of decimals” attribute. The VT should implement double-precision operations to minimise rounding errors.
Unique identifier of the object. This must be unique within the object pool (2 bytes, 0-65534).
The type of the object.
Width of the object in pixels.
Height of the object in pixels.
Background colour. A colour based on the index of the Colour Palette.
Object Id of a Font Attributes object for display formatting of this field.
Logical bits indicating options. 1 = TRUE.
Reference to a Variable object from which the value is taken.
Offset applied to the value. Displayed value = (Value attribute + Offset) × Scale factor.
Scale to be applied to the input value as well as to the min/max values.
Specifies the number of decimal places to be displayed after the decimal point.
0 = Display in fixed decimal format (####.nn)
1 = Use of exponential format ([-]###.nnE[+/-]## where n is specified by the
Number of decimals attribute).
Horizontal/vertical alignment of the content.
Current integer value of the object if no variable reference is used.
Number of contained macro references, even if it is zero.
Each macro reference consists of 2 bytes: one for the event Id and one for the macro Id.
When the specified event occurs, the associated macro is executed. VT version 5 and later: A reference to a macro with a 16-bit Object Id counts as 2 macro references in the context of this attribute.