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


DrawText Method (NUser32)
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)

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