ExtensionIconFromStream Method

Spotfire 14.3 API Reference
Creates an icon from a stream of image data. The data must be in PNG format.

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

C#
public static ExtensionIcon FromStream(
	Stream stream
)

Parameters

stream
Type: System.IOStream
Stream containing image data.

Return Value

Type: ExtensionIcon
An icon.
Exceptions

ExceptionCondition
ArgumentNullException Thrown if stream is null.
ArgumentException Thrown if the data is in an unsupported format.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5
See Also

Reference