Nevron.Interop.Win32 Namespace / NUxTheme Class / DrawThemeText Method / DrawThemeText(IntPtr,IntPtr,Int32,Int32,String,Int32,Int32,Int32,RECT) Method


DrawThemeText(IntPtr,IntPtr,Int32,Int32,String,Int32,Int32,Int32,RECT) Method
Syntax
'Declaration
 
Public Overloads Shared Function DrawThemeText( _
   ByVal hTheme As System.IntPtr, _
   ByVal hDC As System.IntPtr, _
   ByVal partId As System.Integer, _
   ByVal stateId As System.Integer, _
   ByVal s As System.String, _
   ByVal charCount As System.Integer, _
   ByVal flags1 As System.Integer, _
   ByVal flags2 As System.Integer, _
   ByRef rect As NWin32.RECT _
) As System.Integer
 
'Usage
 
Dim hTheme As System.IntPtr
Dim hDC As System.IntPtr
Dim partId As System.Integer
Dim stateId As System.Integer
Dim s As System.String
Dim charCount As System.Integer
Dim flags1 As System.Integer
Dim flags2 As System.Integer
Dim rect As NWin32.RECT
Dim value As System.Integer
 
value = NUxTheme.DrawThemeText(hTheme, hDC, partId, stateId, s, charCount, flags1, flags2, rect)

Parameters

hTheme
hDC
partId
stateId
s
charCount
flags1
flags2
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