EsriAsciiDriver.OpenLayer
Contents
[
Hide
]OpenLayer(AbstractPath, RasterDriverOptions)
Opens the layer for reading.
public override 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 EsriAsciiDriver
- namespace Aspose.Gis.Formats.EsriAscii
- assembly Aspose.GIS
OpenLayer(string, EsriAsciiOptions)
Opens a layer for reading.
public RasterLayer OpenLayer(string path, EsriAsciiOptions options)
| Parameter | Type | Description |
|---|---|---|
| path | String | Path to the file. |
| options | EsriAsciiOptions | Driver-specific options. |
Return Value
An instance of RasterLayer.
See Also
- class RasterLayer
- class EsriAsciiOptions
- class EsriAsciiDriver
- namespace Aspose.Gis.Formats.EsriAscii
- assembly Aspose.GIS
OpenLayer(AbstractPath, EsriAsciiOptions)
Opens a layer for reading.
public RasterLayer OpenLayer(AbstractPath path, EsriAsciiOptions options)
| Parameter | Type | Description |
|---|---|---|
| path | AbstractPath | Path to the file. |
| options | EsriAsciiOptions | Driver-specific options. |
Return Value
An instance of RasterLayer.
See Also
- class RasterLayer
- class AbstractPath
- class EsriAsciiOptions
- class EsriAsciiDriver
- namespace Aspose.Gis.Formats.EsriAscii
- assembly Aspose.GIS