Spread WPF 17
GrapeCity.Excel Namespace / ExcelWorkbook Class / GetPaletteColor Method
An IExcelColor instance used to locate the palette color.


In This Topic
    GetPaletteColor Method (ExcelWorkbook)
    In This Topic
    Gets the closest palette color of specified color.
    Syntax
    'Declaration
     
    Public Function GetPaletteColor( _
       ByVal color As IExcelColor _
    ) As ExcelPaletteColor
    'Usage
     
    Dim instance As ExcelWorkbook
    Dim color As IExcelColor
    Dim value As ExcelPaletteColor
     
    value = instance.GetPaletteColor(color)
    public ExcelPaletteColor GetPaletteColor( 
       IExcelColor color
    )

    Parameters

    color
    An IExcelColor instance used to locate the palette color.

    Return Value

    The closest palette color
    See Also