
Chapter 4: Property Management 71
iTool Developer’s Guide Property Data Types
Property Data Types
Registered properties must be of one of the data types listed in the following table.
Note
Properties of objects that are not registered (that is, properties that cannot appear in
a property sheet) can be of any IDL data type.
Type
Code
Type Description
0 USERDEF User Defined properties can contain values of any IDL
type, but must also include a string value that will be
displayed in the property sheet. See the following
discussion for additional information.
1 BOOLEAN Boolean properties contain either the integer 0 or the
integer 1.
2 INTEGER Integer properties contain an integer value. If a property of
integer data type has a VALID_RANGE attribute that
includes an increment value, the property is displayed in a
property sheet using a slider. If no increment value is
supplied, the property sheet allows the user to edit values
manually.
3 FLOAT Float properties contain a double-precision floating-point
value. If a property of float data type has a
VALID_RANGE attribute that includes an increment
value, the property is displayed in a property sheet using a
slider. If no increment value is supplied, the property sheet
allows the user to edit values manually.
4 STRING String properties contain a scalar string value
5 COLOR Color properties contain an RGB color triplet
Table 4-1: iTools Property Data Types