MapChartLayerCollection AddNewImageLayer Method (Stream) TIBCO Spotfire 7.0 API Reference
Adds a new image layer to this collection, using the specified stream.

Namespace: Spotfire.Dxp.Application.Visuals.Maps
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax

public ImageLayer AddNewImageLayer(
	Stream stream
)

Parameters

stream
Type: System.IO Stream
The stream to use for creating the image layer.

Return Value

Type: ImageLayer
The newly created image layer.
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrown if stream is null.
System ArgumentExceptionThrown if the stream cannot be interpreted as an image.
Version Information

Supported in: 7.0, 6.5
See Also