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


In This Topic
    CreateRectRgn Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function CreateRectRgn( _
       ByVal X1 As System.Integer, _
       ByVal Y1 As System.Integer, _
       ByVal X2 As System.Integer, _
       ByVal Y2 As System.Integer _
    ) As System.IntPtr
    'Usage
     
    
    Dim X1 As System.Integer
    Dim Y1 As System.Integer
    Dim X2 As System.Integer
    Dim Y2 As System.Integer
    Dim value As System.IntPtr
     
    value = NGdi32.CreateRectRgn(X1, Y1, X2, Y2)
    public static System.IntPtr CreateRectRgn( 
       System.int X1,
       System.int Y1,
       System.int X2,
       System.int Y2
    )

    Parameters

    X1
    Y1
    X2
    Y2
    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