PageCollectionAddDuplicate Method

Spotfire 15.0 API Reference
Creates a duplicate of the specified page and adds it to this collection. The duplicate page will become the active page.

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

C#
public Page AddDuplicate(
	Page page
)

Parameters

page
Type: Spotfire.Dxp.ApplicationPage
The Page to duplicate. It must be attached to the document.

Return Value

Type: Page
The duplicate Page.
Exceptions

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


See Also

Reference