Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ConditionalFormatting Class / CreateColorScaleCustom Method
The first ColorThreshold.
The second ColorThreshold.
The third ColorThreshold.


In This Topic
    CreateColorScaleCustom Method
    In This Topic
    Creates a custom Color Scales ConditionFormatting.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateColorScaleCustom( _
       ByVal threshold1 As ColorThreshold, _
       ByVal threshold2 As ColorThreshold, _
       Optional ByVal threshold3 As ColorThreshold _
    ) As ConditionalFormattingColorScale
    'Usage
     
    
    Dim threshold1 As ColorThreshold
    Dim threshold2 As ColorThreshold
    Dim threshold3 As ColorThreshold
    Dim value As ConditionalFormattingColorScale
     
    value = ConditionalFormatting.CreateColorScaleCustom(threshold1, threshold2, threshold3)

    Parameters

    threshold1
    The first ColorThreshold.
    threshold2
    The second ColorThreshold.
    threshold3
    The third ColorThreshold.
    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