ShapefileDriverOpenLayer Method (String, ShapefileOptions) |
Opens a layer for reading.
Namespace:
Aspose.Gis.Formats.Shapefile
Assembly:
Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax public VectorLayer OpenLayer(
string path,
ShapefileOptions options
)
Public Function OpenLayer (
path As String,
options As ShapefileOptions
) As VectorLayer
public:
VectorLayer^ OpenLayer(
String^ path,
ShapefileOptions^ options
)
member OpenLayer :
path : string *
options : ShapefileOptions -> VectorLayer
Parameters
- path
- Type: SystemString
Path to the file. - options
- Type: Aspose.Gis.Formats.ShapefileShapefileOptions
Driver-specific options.
Return Value
Type:
VectorLayerAn instance of
VectorLayer.
See Also