ImageCollectionTryGetImage Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference