VisualCollectionAddDuplicate Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference