Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Color Structure / ToIndexedColor Method


In This Topic
    ToIndexedColor Method
    In This Topic
    Gets the indexed color value of this Color structure.
    Syntax
    'Declaration
     
    
    Public Function ToIndexedColor() As Integer
    'Usage
     
    
    Dim instance As Color
    Dim value As Integer
     
    value = instance.ToIndexedColor()
    public int ToIndexedColor()

    Return Value

    The indexed color value of this Color structure.
    Remarks
    The indexed color has base 1. The Tint value isn't applied to the returned result.
    See Also