ColorMapTryGetColor Method TIBCO Spotfire 7.6 API Reference
Tries to get the color for a given category, returning true upon success.

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public bool TryGetColor(
	CategoryKey category,
	out Color color
)

Parameters

category
Type: Spotfire.Dxp.Application.VisualsCategoryKey
A CategoryKey object identifying the category.
color
Type: System.DrawingColor
When this method returns, contains the color associated with the specified category, if one is found; otherwise Color.Empty.

Return Value

Type: Boolean
true if this instance contains a color for the specified category; otherwise, false.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference