ColoringTemplateCollectionAddCopy Method (Coloring, String)

Spotfire 14.3 API Reference
Adds a copy of the given Coloring with a new display name.

Namespace:  Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public Coloring AddCopy(
	Coloring template,
	string preferredName
)

Parameters

template
Type: Spotfire.Dxp.Application.Visuals.ConditionalColoringColoring
Template to copy.
preferredName
Type: SystemString
The preferred display name that the copy should have. If this name is not unique withing the collection, the added Coloring will have a name that is slightly modified.

Return Value

Type: Coloring
A copy of the provided template that has been inserted to this collection.
Exceptions

ExceptionCondition
ArgumentNullException Thrown if template is null.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference