Nevron.Interop.Win32 Namespace / NUxTheme Class / GetThemeFont Method


In This Topic
    GetThemeFont Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function GetThemeFont( _
       ByVal hTheme As System.IntPtr, _
       ByVal hdc As System.IntPtr, _
       ByVal part As System.Integer, _
       ByVal state As System.Integer, _
       ByVal propId As System.Integer, _
       ByRef hFont As System.IntPtr _
    ) As System.IntPtr
    'Usage
     
    
    Dim hTheme As System.IntPtr
    Dim hdc As System.IntPtr
    Dim part As System.Integer
    Dim state As System.Integer
    Dim propId As System.Integer
    Dim hFont As System.IntPtr
    Dim value As System.IntPtr
     
    value = NUxTheme.GetThemeFont(hTheme, hdc, part, state, propId, hFont)
    public static System.IntPtr GetThemeFont( 
       System.IntPtr hTheme,
       System.IntPtr hdc,
       System.int part,
       System.int state,
       System.int propId,
       out System.IntPtr hFont
    )

    Parameters

    hTheme
    hdc
    part
    state
    propId
    hFont
    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