ShapefileDriverCreateLayer Method (String, ShapefileOptions) |
Creates a layer and opens it for adding new features.
Namespace:
Aspose.Gis.Formats.Shapefile
Assembly:
Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntaxpublic VectorLayer CreateLayer(
string path,
ShapefileOptions options
)
Public Function CreateLayer (
path As String,
options As ShapefileOptions
) As VectorLayer
public:
VectorLayer^ CreateLayer(
String^ path,
ShapefileOptions^ options
)
member CreateLayer :
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.
Exceptions
See Also