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: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public Page AddNew( string suggestedTitle )
Parameters
- suggestedTitle
- Type: SystemString
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: PageThe object model representation of the page that was added.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | suggestedTitle is null. |
ArgumentException | suggestedTitle only contains whitespace characters. |
Version Information
See Also