ColorMap TryGetColor Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public bool TryGetColor(
	CategoryKey category,
	out Color color
)

Parameters

category
Type: Spotfire.Dxp.Application.Visuals CategoryKey
A CategoryKey object identifying the category.
color
Type: System.Drawing Color 
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.
See Also