ColoringTemplateCollectionAddCopy Method (Coloring, String) TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
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 slightely 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: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference