Nevron.Interop.Win32 Namespace / NGdi32 Class / Rectangle Method


Rectangle Method
Syntax
'Declaration
 
Public Shared Function Rectangle( _
   ByVal hdc As System.IntPtr, _
   ByVal topLeftX As System.Integer, _
   ByVal topLeftY As System.Integer, _
   ByVal bottomRightX As System.Integer, _
   ByVal bottomRightY As System.Integer _
) As System.Boolean
 
'Usage
 
Dim hdc As System.IntPtr
Dim topLeftX As System.Integer
Dim topLeftY As System.Integer
Dim bottomRightX As System.Integer
Dim bottomRightY As System.Integer
Dim value As System.Boolean
 
value = NGdi32.Rectangle(hdc, topLeftX, topLeftY, bottomRightX, bottomRightY)

Parameters

hdc
topLeftX
topLeftY
bottomRightX
bottomRightY
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