Version

GetZoomedValue(Int32,Single,Boolean) Method

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

Parameters

originalValue
The non scaled value.
zoomFactor
The zoomFactor.
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