Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ColorManager Class / BlendColor(IWorkbook,Color,Color,Double) Method
The first color.
The second color.
The weight of the first color.


In This Topic
    BlendColor(IWorkbook,Color,Color,Double) Method
    In This Topic
    Blends 2 colors.
    Syntax
    'Declaration
     
    
    Public Function BlendColor( _
       ByVal workbook As IWorkbook, _
       ByVal color1 As Color, _
       ByVal color2 As Color, _
       ByVal pos As Double _
    ) As Color
    'Usage
     
    
    Dim instance As ColorManager
    Dim workbook As IWorkbook
    Dim color1 As Color
    Dim color2 As Color
    Dim pos As Double
    Dim value As Color
     
    value = instance.BlendColor(workbook, color1, color2, pos)

    Parameters

    workbook
    color1
    The first color.
    color2
    The second color.
    pos
    The weight of the first color.
    See Also