RasterDriver.OpenLayer

OpenLayer(AbstractPath, RasterDriverOptions)

打开该图层进行读取。

public abstract RasterLayer OpenLayer(AbstractPath path, RasterDriverOptions options)
参数类型描述
pathAbstractPath文件的路径。
optionsRasterDriverOptions驱动程序特定的选项。

返回值

一个 RasterLayer 的实例。

异常

异常条件
ArgumentExceptionOptions 对象的类型对该驱动程序不正确。
ArgumentNullException路径为 null
IOException发生 I/O 错误。
NotSupportedException驱动程序无法打开栅格图层(参见 CanOpenLayers)。

另见


OpenLayer(string)

打开该图层进行读取。

public RasterLayer OpenLayer(string path)
参数类型描述
pathString文件的路径。

返回值

一个 RasterLayer 的实例。

异常

异常条件
ArgumentNullException路径为 null
IOException发生 I/O 错误。
NotSupportedException驱动程序无法打开栅格图层(参见 CanOpenLayers)。

另见


OpenLayer(AbstractPath)

打开该图层进行读取。

public RasterLayer OpenLayer(AbstractPath path)
参数类型描述
pathAbstractPath文件的路径。

返回值

一个 RasterLayer 的实例。

异常

异常条件
ArgumentNullException路径为 null
IOException发生 I/O 错误。
NotSupportedException驱动程序无法打开栅格图层(参见 CanOpenLayers)。

另见


OpenLayer(string, RasterDriverOptions)

打开该图层进行读取。

public RasterLayer OpenLayer(string path, RasterDriverOptions options)
参数类型描述
pathString文件的路径。
optionsRasterDriverOptions驱动程序特定的选项。

返回值

一个 RasterLayer 的实例。

异常

异常条件
ArgumentExceptionOptions 对象的类型对该驱动程序不正确。
ArgumentNullException路径为 null
IOException发生 I/O 错误。
NotSupportedException驱动程序无法打开栅格图层(参见 CanOpenLayers)。

另见