Nevron.Interop.Win32 Namespace / NUxTheme Class / GetThemePartSize Method / GetThemePartSize(Graphics,WindowClass,Int32,Int32) Method


GetThemePartSize(Graphics,WindowClass,Int32,Int32) Method
Syntax
'Declaration
 
Public Overloads Shared Function GetThemePartSize( _
   ByVal g As System.Drawing.Graphics, _
   ByVal cls As WindowClass, _
   ByVal part As System.Integer, _
   ByVal state As System.Integer _
) As System.Drawing.Size
 
'Usage
 
Dim g As System.Drawing.Graphics
Dim cls As WindowClass
Dim part As System.Integer
Dim state As System.Integer
Dim value As System.Drawing.Size
 
value = NUxTheme.GetThemePartSize(g, cls, part, state)

Parameters

g
cls
part
state
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