CustomShapeCollectionsTryLoadFromLibrary Method

Spotfire 15.0 API Reference
Loads a shape collection from the library.

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

C#
public bool TryLoadFromLibrary(
	LibraryItem libraryItem,
	out CustomShapeCollection customShapeCollection,
	out Exception exception
)

Parameters

libraryItem
Type: Spotfire.Dxp.Framework.LibraryLibraryItem
The library item to load.
customShapeCollection
Type: Spotfire.Dxp.Application.Visuals.ShapesCustomShapeCollection
The shape collection that was loaded. Will be null on failure.
exception
Type: SystemException
Any exception shown during the loading process.

Return Value

Type: Boolean
True if the shape collection was successfully loaded, otherwise false.
Version Information

Supported in: 15.0, 14.8, 14.7, 14.6, 14.5
See Also

Reference