BCGControlBar Library for .NET
Scale(Rectangle) Method




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

Parameters

rect
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