MapChartLayerCollection AddNewImageLayer Method (Stream) TIBCO Spotfire 6.5 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: 14.10.7525.5058 (14.10.7525.5058)
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: 6.5
See Also