MarkerShapeDefinitionsEmbed Method

Spotfire 14.7 API Reference
Embeds a custom shape in the document, and returns a MarkerShape object that can be used to configure visualizations. If the specified shape is already embedded, a corresponding marker shape object is returned.

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

C#
public MarkerShape Embed(
	CustomShape shape
)

Parameters

shape
Type: Spotfire.Dxp.Application.Visuals.ShapesCustomShape
The shape to embed.

Return Value

Type: MarkerShape
A marker shape object that can be used when configuring visualizations.
Remarks

This method will also update any embedded shapes that come from another shape collection with same id as the collection the supplied shape comes from. This is because only one version of a shape collection can be used in the document.
Version Information

Supported in: 14.7, 14.6, 14.5
See Also

Reference