VisualCollectionAddDuplicate Method TIBCO Spotfire 7.12 API Reference
Creates a duplicate of the specified Visual and adds it to the collection.

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

C#
public Visual AddDuplicate(
	Visual visual
)

Parameters

visual
Type: Spotfire.Dxp.ApplicationVisual
The Visual to duplicate. It must be attached to the document.

Return Value

Type: Visual
The duplicate Visual.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf visual is null.
ArgumentExceptionIf visual is not attached to the document.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference