Nevron.Interop.Win32 Namespace / NUser32 Class / DrawText Method


In This Topic
    DrawText Method (NUser32)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function DrawText( _
       ByVal hdc As System.IntPtr, _
       ByVal lpString As System.String, _
       ByVal nCount As System.Integer, _
       ByRef lpRect As NWin32.RECT, _
       ByVal flags As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim hdc As System.IntPtr
    Dim lpString As System.String
    Dim nCount As System.Integer
    Dim lpRect As NWin32.RECT
    Dim flags As System.Integer
    Dim value As System.Integer
     
    value = NUser32.DrawText(hdc, lpString, nCount, lpRect, flags)
    public static System.int DrawText( 
       System.IntPtr hdc,
       System.string lpString,
       System.int nCount,
       ref NWin32.RECT lpRect,
       System.int flags
    )

    Parameters

    hdc
    lpString
    nCount
    lpRect
    flags
    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