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


GetThemeFont Method
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)

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