Adds a new image layer to this collection, using the specified stream.
Namespace: Spotfire.Dxp.Application.Visuals.MapsAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- stream
- Type: System.IO Stream
The stream to use for creating the image layer.
Return Value
Type: ImageLayerThe newly created image layer.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown if stream is null. |
System ArgumentException | Thrown if the stream cannot be interpreted as an image. |
Version Information
See Also