GetColorIndex Method (RibbonColorPickerItem)
Returns the color index from the palette.
'Declaration
Public Function GetColorIndex( _
ByVal As Color _
) As Integer
public int GetColorIndex(
Color
)
Parameters
- color
- Primary or secondary color.
Return Value
The color index from the palette.