In This Topic
Internal use only. Draws the theme text.
Syntax
'Declaration
Public Shared Function DrawThemeText( _
ByVal As IntPtr, _
ByVal As IntPtr, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As String, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByRef As VisualStyle.RECT _
) As Integer
'Usage
Dim hTheme As IntPtr
Dim hDC As IntPtr
Dim iPartId As Integer
Dim iStateId As Integer
Dim pszText As String
Dim iCharCount As Integer
Dim dwTextFlag As Integer
Dim dwTextFlags2 As Integer
Dim pRect As VisualStyle.RECT
Dim value As Integer
value = VisualStyle.DrawThemeText(hTheme, hDC, iPartId, iStateId, pszText, iCharCount, dwTextFlag, dwTextFlags2, pRect)
public static int DrawThemeText(
IntPtr ,
IntPtr ,
int ,
int ,
string ,
int ,
int ,
int ,
ref VisualStyle.RECT
)
Parameters
- hTheme
- hDC
- iPartId
- iStateId
- pszText
- iCharCount
- dwTextFlag
- dwTextFlags2
- pRect
See Also