Do not use. This method is deprecated in favor of
AddNew(TypeIdentifier) and will be removed in a future release.
Namespace: Spotfire.Dxp.ApplicationAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax
Parameters
- visualTypeId
- Type: Spotfire.Dxp.Framework.DocumentModel TypeIdentifier
Type Parameters
- T
Return Value
Type: TExamples
// Do not use this: // BarChart chart = page.Visuals.AddNew<BarChart>(VisualTypeIdentifiers.BarChart); // Instead use this: BarChart chart = page.Visuals.AddNew(VisualTypeIdentifiers.BarChart).As<BarChart>();
See Also