Returns the color in the palette identical to the specified color. An exception will be thrown if the color is not in the palette. |
public Color GetColor(System.Drawing.Color color) |
Public Function GetColor(ByVal color As System.Drawing.Color) As Color |
The desired color. |
A object in the palette that matches the specified color. |
|