Spread Windows Forms 12.0 Product Documentation
ToIndexedColor Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > Color Structure : ToIndexedColor Method
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

Reference

Color Structure
Color Members