ExpressionDetailItemSetValueRenderer Method

TIBCO Spotfire 11.4 API Reference
Sets the renderer for the detail (tooltip) item.

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 ValueRendererSettings SetValueRenderer(
	TypeIdentifier typeId
)

Parameters

typeId
Type: Spotfire.Dxp.Framework.DocumentModelTypeIdentifier
The type id of the renderer to use.

Return Value

Type: ValueRendererSettings
The renderer settings associated with the type id.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrows ArgumentNullException if typeId is null.
ArgumentExceptionThrown if typeId is not a type identifier for a registered ValueRenderer.
Examples

The following example snippet shows how to set the renderer for the expressionDetailItem to the geometry renderer.
C#
GeometryRendererSettings geometryRendererSettings = (GeometryRendererSettings)expressionDetailItem.SetRenderer(ValueRendererTypeIdentifiers.GeometryRenderer);
geometryRendererSettings.BorderColor = Color.Red;
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference