ShapefileDriver.EditLayer
内容
[
隐藏
]EditLayer(AbstractPath, DriverOptions)
以编辑模式打开图层。
public override VectorLayer EditLayer(AbstractPath path, DriverOptions options = null)
| 参数 | 类型 | 描述 |
|---|---|---|
| path | AbstractPath | 文件的路径。 |
| options | DriverOptions | 驱动程序特定的选项。 |
返回值
VectorLayer 的实例。
异常
| 异常 | 条件 |
|---|---|
| ArgumentException | Options 对象的类型对该驱动程序不正确。 |
| ArgumentNullException | 路径为 null。 |
| GisException | 从文件读取要素时出错。 |
| IOException | 发生了 I/O 错误。 |
另见
- class VectorLayer
- class AbstractPath
- class DriverOptions
- class ShapefileDriver
- namespace Aspose.Gis.Formats.Shapefile
- assembly Aspose.GIS
EditLayer(string, ShapefileOptions)
以编辑模式打开图层。
public VectorLayer EditLayer(string path, ShapefileOptions options = null)
| 参数 | 类型 | 描述 |
|---|---|---|
| path | 字符串 | 文件的路径。 |
| options | ShapefileOptions | 驱动程序特定的选项。 |
返回值
VectorLayer 的实例。
另见
- class VectorLayer
- class ShapefileOptions
- class ShapefileDriver
- namespace Aspose.Gis.Formats.Shapefile
- assembly Aspose.GIS
EditLayer(AbstractPath, ShapefileOptions)
以编辑模式打开图层。
public VectorLayer EditLayer(AbstractPath path, ShapefileOptions options = null)
| 参数 | 类型 | 描述 |
|---|---|---|
| path | AbstractPath | 文件的路径。 |
| options | ShapefileOptions | 驱动程序特定的选项。 |
返回值
VectorLayer 的实例。
另见
- class VectorLayer
- class AbstractPath
- class ShapefileOptions
- class ShapefileDriver
- namespace Aspose.Gis.Formats.Shapefile
- assembly Aspose.GIS