RasterDriver.OpenLayer
Contents
[
Hide
]OpenLayer(AbstractPath, RasterDriverOptions)
Opens the layer for reading.
public abstract RasterLayer OpenLayer(AbstractPath path, RasterDriverOptions options)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the file. |
options | RasterDriverOptions | Driver-specific options. |
Return Value
An instance of RasterLayer
.
Exceptions
exception | condition |
---|---|
ArgumentException | Options object has an incorrect type for this driver. |
ArgumentNullException | The path is null . |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open raster layers (see CanOpenLayers ). |
See Also
- class RasterLayer
- class AbstractPath
- class RasterDriverOptions
- class RasterDriver
- namespace Aspose.Gis
- assembly Aspose.GIS
OpenLayer(string)
Opens the layer for reading.
public RasterLayer OpenLayer(string path)
Parameter | Type | Description |
---|---|---|
path | String | Path to the file. |
Return Value
An instance of RasterLayer
.
Exceptions
exception | condition |
---|---|
ArgumentNullException | The path is null . |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open raster layers (see CanOpenLayers ). |
See Also
- class RasterLayer
- class RasterDriver
- namespace Aspose.Gis
- assembly Aspose.GIS
OpenLayer(AbstractPath)
Opens the layer for reading.
public RasterLayer OpenLayer(AbstractPath path)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the file. |
Return Value
An instance of RasterLayer
.
Exceptions
exception | condition |
---|---|
ArgumentNullException | The path is null . |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open raster layers (see CanOpenLayers ). |
See Also
- class RasterLayer
- class AbstractPath
- class RasterDriver
- namespace Aspose.Gis
- assembly Aspose.GIS
OpenLayer(string, RasterDriverOptions)
Opens the layer for reading.
public RasterLayer OpenLayer(string path, RasterDriverOptions options)
Parameter | Type | Description |
---|---|---|
path | String | Path to the file. |
options | RasterDriverOptions | Driver-specific options. |
Return Value
An instance of RasterLayer
.
Exceptions
exception | condition |
---|---|
ArgumentException | Options object has an incorrect type for this driver. |
ArgumentNullException | The path is null . |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open raster layers (see CanOpenLayers ). |
See Also
- class RasterLayer
- class RasterDriverOptions
- class RasterDriver
- namespace Aspose.Gis
- assembly Aspose.GIS