ShapeMap TryGetShape Method TIBCO Spotfire 6.0 API Reference
Tries to get the shape 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 TryGetShape(
	CategoryKey category,
	out MarkerShape shape
)

Parameters

category
Type: Spotfire.Dxp.Application.Visuals CategoryKey
A CategoryKey object identifying the category.
shape
Type: Spotfire.Dxp.Application.Visuals MarkerShape 
When this method returns, contains the shape associated with the specified category, if one is found; otherwise null.

Return Value

Type: Boolean
true if this instance contains a shape for the specified category; otherwise, false.
See Also