ImageCollectionTryGetImage Method (String, Image)

Spotfire 14.2 API Reference

Note: This API is now obsolete.

Tries to get the image with the specified key.

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

C#
[ObsoleteAttribute("This API will not work on Linux. Please use TryGetImage instead.")]
public bool TryGetImage(
	string key,
	out Image image
)

Parameters

key
Type: SystemString
The key of the image to get.
image
Type: System.DrawingImage
The image, if not found null.

Return Value

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

Supported in: 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
See Also

Reference