Adds a new image layer to this collection, using the specified file.
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
- fileName
- Type: System String
The name of the file, including full path.
Return Value
Type: ImageLayerThe newly created image layer.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown if fileName is null. |
System ArgumentException | Thrown if fileName is empty. |
System ArgumentException | Thrown if the file cannot be interpreted as an image. |
System.IO FileNotFoundException | Thrown if the file is not found. |
Version Information
See Also