Tries to get the image with the specified key.
Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 69.0.21424.2902 (69.0.21424.2902)
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: BooleanTrue if the image could be found; otherwise False.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If key is null. |
Version Information
Supported in: 14.7, 14.6, 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5
See Also