IRangeControlClient.ValidateScale(Double) Method
Validates a scale(zoom) factor.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
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