ImageCollectionTryGetImage Method (String, Stream)

Spotfire 14.3 API Reference
Tries to get the image with the specified key.

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

C#
public bool TryGetImage(
	string key,
	Stream outputStream
)

Parameters

key
Type: SystemString
The key of the image to get.
outputStream
Type: System.IOStream
The stream to write image data to.

Return Value

Type: Boolean
True if the image could be found; otherwise False.
Exceptions

ExceptionCondition
ArgumentNullException If key is null.
Version Information

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

Reference