CimNumberFormat.Type (property)

Gets and sets the format type.
Syntax: ApNumberFormatEnum = object.Type
object.Type = ApNumberFormatEnum
Description: CimNumberFormat.Type contains the type of format to be used when displaying a number.

The value of this property defaults to apNumberInteger. Since this is a default property, you can omit it when you reference it.


The following CimView script excerpt sets the first X axis' number format type to apNumberFixed
cimOleObj.X.Item(0).Format.Type = apNumberFixed

Since this is a default property, the previous script can also be written ommitting the Type property:
cimOleObj.X.Item(0).Format = apNumberFixed