KmlDriverCreateLayer Method (String, KmlOptions) |
Creates a layer and opens it for adding new features.
Namespace:
Aspose.Gis.Formats.Kml
Assembly:
Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntaxpublic VectorLayer CreateLayer(
string path,
KmlOptions options
)
Public Function CreateLayer (
path As String,
options As KmlOptions
) As VectorLayer
public:
VectorLayer^ CreateLayer(
String^ path,
KmlOptions^ options
)
member CreateLayer :
path : string *
options : KmlOptions -> VectorLayer
Parameters
- path
- Type: SystemString
Path to the file. - options
- Type: Aspose.Gis.Formats.KmlKmlOptions
Driver-specific options.
Return Value
Type:
VectorLayerAn instance of
VectorLayer.
Exceptions
See Also