Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ColorManager Class / ToColor Method
A Workbook object which contains color settings.
The specified SchemeColor to get color from.


In This Topic
    ToColor Method
    In This Topic
    Get SchemeColor color from the specified color.
    Syntax
    'Declaration
     
    
    Public Function ToColor( _
       ByVal workbook As IWorkbook, _
       ByVal color As SchemeColor _
    ) As Color
    'Usage
     
    
    Dim instance As ColorManager
    Dim workbook As IWorkbook
    Dim color As SchemeColor
    Dim value As Color
     
    value = instance.ToColor(workbook, color)

    Parameters

    workbook
    A Workbook object which contains color settings.
    color
    The specified SchemeColor to get color from.

    Return Value

    A Color value represents SchemeColor color.
    See Also