Skip to main content

ArcScale.GetInternalValue() Method

Gets the actual value that has been assigned to the scale.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v23.2.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

public float GetInternalValue()

Returns

Type Description
Single

A Single value that specifies the actual value that has been assigned to the scale.

Remarks

You can specifiy a scale’s value via the Value property. The value assigned to this property is actually stored in an internal variable (Internal Value). The GetInternalValue method allows you to get this value.

When reading the Value property, you do not always get the value assigned (i.e. Internal Value). This is the case when the value assigned to the Value property falls beyond the range specified by the MinValue and MaxValue properties. If the Internal Value is less than MinValue, the Value property will return the MinValue instead. If the Internal Value is greater than MaxValue, the Value property will return MaxValue.

If the Internal Value falls in the range [MinValue;MaxValue], reading the Value property always returns the Internal Value.

See Also