Version

GetScaledSize Method

Scales up or down the passed size, based on the owner's zoom factor.
Syntax
'Declaration
 
Function GetScaledSize( _
   ByVal originalSize As Size, _
   ByVal scaleDown As Boolean _
) As Size
Size GetScaledSize( 
   Size originalSize,
   bool scaleDown
)

Parameters

originalSize
The size to scale up or down.
scaleDown
Whether to scale the size up or down.

Return Value

The scaled size.
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