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

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(
	string fileName
)

Parameters

fileName
Type: System String
The name of the file, including full path.

Return Value

Type: ImageLayer
The newly created image layer.
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrown if fileName is null.
System ArgumentExceptionThrown if fileName is empty.
System ArgumentExceptionThrown if the file cannot be interpreted as an image.
System.IO FileNotFoundExceptionThrown if the file is not found.
Version Information

Supported in: 7.0, 6.5
See Also