ColorMapTryGetColor Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference