CalculatedValueRuleCollection.AddStringRule Method (StringComparisonOperator, ConditionValue, Color, FontStyle)

Spotfire 14.5 API Reference

Note: This API is now obsolete.

Adds a string color rule to the end of the collection.

Namespace:  Spotfire.Dxp.Application.Visuals.Miniatures
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax

C#
[ObsoleteAttribute("This API will not work on Linux. Please use AddStringRule with FontStyleFlags instead.")]
public CalculatedValueRule AddStringRule(
	StringComparisonOperator comparisonOperator,
	ConditionValue value,
	Color color,
	FontStyle fontStyle
)

Parameters

comparisonOperator
Type: Spotfire.Dxp.Application.Visuals.ConditionalColoring.StringComparisonOperator
The comparison operator.
value
Type: Spotfire.Dxp.Application.Visuals.ConditionalColoring.ConditionValue
The value.
color
Type: System.Drawing.Color
The color.
fontStyle
Type: System.Drawing.FontStyle
The font style.

Return Value

Type: CalculatedValueRule
The rule that was added.
Version Information

Supported in: 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
Obsolete (compiler warning) in 14.5
Obsolete (compiler warning) in 14.4
Obsolete (compiler warning) in 14.3
Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
See Also

Reference