Version

GetZoomedValue(Int32,UltraControlBase,Boolean) Method

Scales the value based on the zoomFactor of the control.
Syntax
'Declaration
 
Public Overloads Shared Function GetZoomedValue( _
   ByVal originalValue As Integer, _
   ByVal control As UltraControlBase, _
   Optional ByVal scaleDown As Boolean _
) As Integer
public static int GetZoomedValue( 
   int originalValue,
   UltraControlBase control,
   bool scaleDown
)

Parameters

originalValue
The non scaled value.
control
The control.
scaleDown
Determines if the value will be multiplied or divided by the zoomFactor.

Return Value

The scaled value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also