RasterDriver.OpenLayer

OpenLayer(AbstractPath, RasterDriverOptions)

Opens the layer for reading.

public abstract RasterLayer OpenLayer(AbstractPath path, RasterDriverOptions options)
ParameterTypeDescription
pathAbstractPathPath to the file.
optionsRasterDriverOptionsDriver-specific options.

Return Value

An instance of RasterLayer.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open raster layers (see CanOpenLayers).

See Also


OpenLayer(string)

Opens the layer for reading.

public RasterLayer OpenLayer(string path)
ParameterTypeDescription
pathStringPath to the file.

Return Value

An instance of RasterLayer.

Exceptions

exceptioncondition
ArgumentNullExceptionThe path is null.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open raster layers (see CanOpenLayers).

See Also


OpenLayer(AbstractPath)

Opens the layer for reading.

public RasterLayer OpenLayer(AbstractPath path)
ParameterTypeDescription
pathAbstractPathPath to the file.

Return Value

An instance of RasterLayer.

Exceptions

exceptioncondition
ArgumentNullExceptionThe path is null.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open raster layers (see CanOpenLayers).

See Also


OpenLayer(string, RasterDriverOptions)

Opens the layer for reading.

public RasterLayer OpenLayer(string path, RasterDriverOptions options)
ParameterTypeDescription
pathStringPath to the file.
optionsRasterDriverOptionsDriver-specific options.

Return Value

An instance of RasterLayer.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open raster layers (see CanOpenLayers).

See Also