ValueRendererFactoryGetRendererMatchCore Method TIBCO Spotfire 7.6 API Reference
Override this method to indicate whether the created value renderer can support the specified content type and data type.

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

C#
protected abstract float GetRendererMatchCore(
	DataValueProperties dataValueProperties
)

Parameters

dataValueProperties
Type: Spotfire.Dxp.DataDataValueProperties
Properties for the values that will be rendered. (Content type and data type.)

Return Value

Type: Single
A floating point value between 0 and 100 inclusively, indicating how well the specified content type and data type are supported.

  • 100 = this factory produces renderers which are a perfect match for this content type and data type
  • 75 = returned by the built-in bitmap and link renderer (if appropriate)
  • 50 = returned by the built-in default renderer, regardless of content type or data type
  • 25 = value returned by built-in renderers, if the content type and data type may be rendered, but the renderer isn't particularly well suited
  • 0 = the content type/data type is not supported
For example, a custom image renderer which is better suited than the built-in Bitmap renderer for rendering a certain content type should return a value higher than 75.0f.

Version Information

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

Reference