TdxGaugeScaleCollection.Add(TdxGaugeCustomScaleClass) Method
In This Article
Adds a new scale to the collection.
#Declaration
Delphi
function Add(AScaleClass: TdxGaugeCustomScaleClass): TdxGaugeCustomScale;
#Parameters
Name | Type |
---|---|
AScale |
Tdx |
#Returns
Type |
---|
Tdx |
#Remarks
Use this method to add a scale to the Gauge Control at runtime. The AScaleClass parameter specifies the type of the created scale. The Add function returns the generic form of a particular scale object.
Refer to the Items property description for the code example demonstrating the Add method in action.
Alternatively, you can use the Gauge Control’s AddScale and/or AddContainer methods.
See Also