Table of Contents

Method ScaleValueToPosition

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ScaleValueToPosition(int)

Scales a numeric value to a position on the slider.

public virtual float ScaleValueToPosition(int val)

Parameters

val int

The numeric value to be scaled.

Returns

float

The position on the slider corresponding to the specified value.