IRangeControlClient.ValidateScale(Double) Method

Validates a scale(zoom) factor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Data.v20.1.dll

Declaration

double ValidateScale(
    double newScale
)
Function ValidateScale(
    newScale As Double
) As Double

Parameters

Name Type Description
newScale Double

A double value that is the new scale factor that is about to be applied.

Returns

Type Description
Double

The valid scale factor.

Remarks

A scale(zoom) factor is a value greater than or equal to 1. The scale factor of 1 means that data is not zoomed. The scale factor of 2 means that data is zoomed in twice, etc.

See Also