VisualCollection AddDuplicate Method TIBCO Spotfire 6.5 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: 14.10.7525.5058 (14.10.7525.5058)
Syntax

public Visual AddDuplicate(
	Visual visual
)

Parameters

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

Return Value

Type: Visual
The duplicate Visual.
Exceptions

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

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also