ArcScale.ValueToPercent(Single) Method

Returns the percent of the specified value in relation to the scale’s minimum and maximum values.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v21.1.Core.dll

Declaration

public float ValueToPercent(
    float value
)

Parameters

Name Type Description
value Single

The value whose percent is to be returned.

Returns

Type Description
Single

The percent of the specified value in relation to the scale’s minimum and maximum values.

Remarks

This method returns the percent of the specified value in relation to the scale’s minimum (ArcScale.MinValue) and maximum (ArcScale.MaxValue) values.

See Also