ValueRendererFactoryGetRendererMatchCore Method

Spotfire 14.2 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: 64.0.19329.3263 (64.0.19329.3263)
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: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference