BCGControlBar Library for .NET
Scale(Size) Method




Scales a Size according to the current HDPI settings.
Syntax
'Declaration
 
Public Overloads Shared Function Scale( _
   ByVal size As Size _
) As Size
'Usage
 
Dim size As Size
Dim value As Size
 
value = GlobalVisualSettings.Scale(size)
public static Size Scale( 
   Size size
)
public: static Size Scale( 
   Size size
) 
public:
static Size Scale( 
   Size size
) 

Parameters

size
Requirements

Target Platforms: 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

Reference

GlobalVisualSettings Class
GlobalVisualSettings Members
Overload List

Send Feedback