property TimeScales.Count as Long
Returns the number of objects in a collection.

TypeDescription
Long A long expression that specifies the number of time scales in the control.
The Count property indicates the number of time scales in the control.  The Item property accesses the time scale object its time zone or its index.  The Remove method removes a time scale giving its time zone or its index. The Clear method removes all time-scales from the control. The Visible property shows or hides the time scale. The Position property changes the position of the time scale from left to right.  The TimeZone property can be used to programmatically update the time zone. The Index property defines the index of the time scale in the TimeScales collection. The for each statement is supported by the TimeScales collection, so the TimeScales collection can be enumerated using a sample like  for each ts in TimeScales