Click or drag to resize

ColorSetTryGetValue(AxoColor, NamedColor) Method

Tries to find a color with a given color value.

Namespace: Altaxo.Drawing.ColorManagement
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryGetValue(
	AxoColor colorValue,
	out NamedColor namedColor
)

Parameters

colorValue  AxoColor
The color to find.
namedColor  NamedColor
If the color is contained in this collection, the color with the given name is returned. Otherwise, the result is undefined.

Return Value

Boolean
True, if the color with the given name is contained in this collection. Otherwise, false is returned.

Implements

IColorSetTryGetValue(AxoColor, NamedColor)
See Also