IndexOf Method
IndexOf(Color)
Searches for the specified color in the palette and returns a zero-based index of the found entry.
Declaration
public int IndexOf(Color color)
Public Function IndexOf(color As Color) As Integer
Parameters
| Type |
Name |
Description |
| Color |
color |
|
Returns