Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / VisualStyle Class / GetCurrentThemeName Method
Theme name
Maximum number of characters in the name
Buffer for the color name
Maximum number of characters in the color
Buffer for the size
Maximum number of characters in the size


In This Topic
    GetCurrentThemeName Method
    In This Topic
    Gets the current theme name.
    Syntax
    'Declaration
     
    
    Public Shared Sub GetCurrentThemeName( _
       ByVal pszThemeFileName As StringBuilder, _
       ByVal cchMaxNameChars As Integer, _
       ByVal pszColorBuff As StringBuilder, _
       ByVal cchMaxColorChars As Integer, _
       ByVal pszSizeBuff As StringBuilder, _
       ByVal cchMaxSizeChars As Integer _
    ) 
    'Usage
     
    
    Dim pszThemeFileName As StringBuilder
    Dim cchMaxNameChars As Integer
    Dim pszColorBuff As StringBuilder
    Dim cchMaxColorChars As Integer
    Dim pszSizeBuff As StringBuilder
    Dim cchMaxSizeChars As Integer
     
    VisualStyle.GetCurrentThemeName(pszThemeFileName, cchMaxNameChars, pszColorBuff, cchMaxColorChars, pszSizeBuff, cchMaxSizeChars)

    Parameters

    pszThemeFileName
    Theme name
    cchMaxNameChars
    Maximum number of characters in the name
    pszColorBuff
    Buffer for the color name
    cchMaxColorChars
    Maximum number of characters in the color
    pszSizeBuff
    Buffer for the size
    cchMaxSizeChars
    Maximum number of characters in the size
    See Also