PageCollection AddNew Method (String) TIBCO Spotfire 6.0 API Reference
Creates and adds a Page to the document. The page will become the active page.

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

public Page AddNew(
	string suggestedTitle
)

Parameters

suggestedTitle
Type: System String
A suggested title. A suffix will be added to the suggested title if it is not unique, that is, another visual page with the name exists. Note that only the first 1000 characters of the suggested title are considered when naming the new page.

Return Value

Type: Page
The object model representation of the page that was added.
Exceptions

ExceptionCondition
System ArgumentNullExceptionsuggestedTitle is null.
System ArgumentExceptionsuggestedTitle only contains whitespace characters.
See Also