LinearScale.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.v19.2.Core.dll

Declaration

public float ValueToPercent(
    float value
)
Public Function ValueToPercent(
    value As Single
) As Single

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 (LinearScale.MinValue) and maximum (LinearScale.MaxValue) values.

Implements

DevExpress.XtraGauges.Core.Model.IConvertibleScale.ValueToPercent(Single)
See Also