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


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

    Parameters

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

    Return Value

    A GrapeCity.Core.SchemeColor value represents SchemeColor color.
    See Also