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


In This Topic
    GetThemePartSize(Graphics,WindowClass,Int32,Int32) Method
    In This Topic
    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)
    public static System.Drawing.Size GetThemePartSize( 
       System.Drawing.Graphics g,
       WindowClass cls,
       System.int part,
       System.int 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