Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ThemeColor Class / ThemeColor Constructor
The ThemeColorType.

The ThemeColor's tint.

Values range from -1 (dark) to +1 (light); the default value is 0.



In This Topic
    ThemeColor Constructor
    In This Topic
    Creates a ThemeColor by specifying its Type and possible Tint.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal type As ThemeColorType, _
       Optional ByVal tint As Double _
    )
    'Usage
     
    
    Dim type As ThemeColorType
    Dim tint As Double
     
    Dim instance As New ThemeColor(type, tint)
    public ThemeColor( 
       ThemeColorType type,
       double tint
    )

    Parameters

    type
    The ThemeColorType.
    tint

    The ThemeColor's tint.

    Values range from -1 (dark) to +1 (light); the default value is 0.

    Requirements

    Target Platforms: Windows 11, Windows 10, 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