Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / VisualStyle Class / DrawThemeText Method


In This Topic
    DrawThemeText Method
    In This Topic
    Internal use only. Draws the theme text.
    Syntax
    'Declaration
     
    
    Public Shared Function DrawThemeText( _
       ByVal hTheme As IntPtr, _
       ByVal hDC As IntPtr, _
       ByVal iPartId As Integer, _
       ByVal iStateId As Integer, _
       ByVal pszText As String, _
       ByVal iCharCount As Integer, _
       ByVal dwTextFlag As Integer, _
       ByVal dwTextFlags2 As Integer, _
       ByRef pRect 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)

    Parameters

    hTheme
    hDC
    iPartId
    iStateId
    pszText
    iCharCount
    dwTextFlag
    dwTextFlags2
    pRect
    See Also