GetColorIndex(Point) Метод (WpfPaletteViewer)
Возвращает индекс цвета.
'Declaration
Public Function GetColorIndex( _
ByVal As System.Windows.Point _
) As System.Int32
public System.Int32 GetColorIndex(
System.Windows.Point
)
public: System.Int32 GetColorIndex(
System.Windows.Point
)
public:
System.Int32 GetColorIndex(
System.Windows.Point
)
Parameters
- point
- Точка просмотра.
Return Value
Индекс color, если цвет найден; в противном случае -1.
Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5