FileDriver.CreateLayer
İçindekiler
[
Saklamak
]CreateLayer(string)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(string path)
| Parametre | Tip | Tanım |
|---|---|---|
| path | String | Dosyanın yolu. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Sürücü vektör katmanları oluşturamaz (bkz.CanCreateLayers). |
Ayrıca bakınız
- class VectorLayer
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(AbstractPath)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(AbstractPath path)
| Parametre | Tip | Tanım |
|---|---|---|
| path | AbstractPath | Dosyanın yolu. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Sürücü vektör katmanları oluşturamaz (bkz.CanCreateLayers). |
Ayrıca bakınız
- class VectorLayer
- class AbstractPath
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(string, DriverOptions)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(string path, DriverOptions options)
| Parametre | Tip | Tanım |
|---|---|---|
| path | String | Dosyanın yolu. |
| options | DriverOptions | Sürücüye özel seçenekler. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| ArgumentException | Seçenekler nesnesi bu sürücü için yanlış bir türe sahip. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Sürücü vektör katmanları oluşturamaz (bkz.CanCreateLayers). |
Ayrıca bakınız
- class VectorLayer
- class DriverOptions
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(AbstractPath, DriverOptions)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(AbstractPath path, DriverOptions options)
| Parametre | Tip | Tanım |
|---|---|---|
| path | AbstractPath | Dosyanın yolu. |
| options | DriverOptions | Sürücüye özel seçenekler. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| ArgumentException | Seçenekler nesnesi bu sürücü için yanlış bir türe sahip. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Sürücü vektör katmanları oluşturamaz (bkz.CanCreateLayers). |
Ayrıca bakınız
- class VectorLayer
- class AbstractPath
- class DriverOptions
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(string, SpatialReferenceSystem)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(string path, SpatialReferenceSystem spatialReferenceSystem)
| Parametre | Tip | Tanım |
|---|---|---|
| path | String | Dosyanın yolu. |
| spatialReferenceSystem | SpatialReferenceSystem | Mekansal referans sistemi. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Uzamsal referans sistemi sürücü tarafından desteklenmiyor. KullanımSupportsSpatialReferenceSystem uzamsal referans sisteminin desteklenip desteklenmediğini kontrol etmek için. |
Ayrıca bakınız
- class VectorLayer
- class SpatialReferenceSystem
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(AbstractPath, SpatialReferenceSystem)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(AbstractPath path, SpatialReferenceSystem spatialReferenceSystem)
| Parametre | Tip | Tanım |
|---|---|---|
| path | AbstractPath | Dosyanın yolu. |
| spatialReferenceSystem | SpatialReferenceSystem | Mekansal referans sistemi. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Uzamsal referans sistemi sürücü tarafından desteklenmiyor. KullanımSupportsSpatialReferenceSystem uzamsal referans sisteminin desteklenip desteklenmediğini kontrol etmek için. |
Ayrıca bakınız
- class VectorLayer
- class AbstractPath
- class SpatialReferenceSystem
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(string, DriverOptions, SpatialReferenceSystem)
Katmanı oluşturur ve eklemek için açar.
public VectorLayer CreateLayer(string path, DriverOptions options,
SpatialReferenceSystem spatialReferenceSystem)
| Parametre | Tip | Tanım |
|---|---|---|
| path | String | Dosyanın yolu. |
| options | DriverOptions | Sürücüye özel seçenekler. |
| spatialReferenceSystem | SpatialReferenceSystem | Mekansal referans sistemi. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| ArgumentException | Seçenekler nesnesi bu sürücü için yanlış bir türe sahip. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Uzamsal referans sistemi sürücü tarafından desteklenmiyor. KullanımSupportsSpatialReferenceSystem uzamsal referans sisteminin desteklenip desteklenmediğini kontrol etmek için. |
| NotSupportedException | Sürücü vektör katmanları oluşturamaz (bkz.CanCreateLayers). |
Ayrıca bakınız
- class VectorLayer
- class DriverOptions
- class SpatialReferenceSystem
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS
CreateLayer(AbstractPath, DriverOptions, SpatialReferenceSystem)
Katmanı oluşturur ve eklemek için açar.
public abstract VectorLayer CreateLayer(AbstractPath path, DriverOptions options,
SpatialReferenceSystem spatialReferenceSystem)
| Parametre | Tip | Tanım |
|---|---|---|
| path | AbstractPath | Dosyanın yolu. |
| options | DriverOptions | Sürücüye özel seçenekler. |
| spatialReferenceSystem | SpatialReferenceSystem | Mekansal referans sistemi. |
Geri dönüş değeri
bir örneğiVectorLayer.
istisnalar
| istisna | şart |
|---|---|
| ArgumentNullException | yolnull. |
| ArgumentException | Seçenekler nesnesi bu sürücü için yanlış bir türe sahip. |
| GisException | Özelliği dosyaya yazarken hata oluştu. |
| IOException | Bir G/Ç hatası oluştu. |
| NotSupportedException | Uzamsal referans sistemi sürücü tarafından desteklenmiyor. KullanımSupportsSpatialReferenceSystem uzamsal referans sisteminin desteklenip desteklenmediğini kontrol etmek için. |
| NotSupportedException | Sürücü vektör katmanları oluşturamaz (bkz.CanCreateLayers). |
Ayrıca bakınız
- class VectorLayer
- class AbstractPath
- class DriverOptions
- class SpatialReferenceSystem
- class FileDriver
- ad alanı Aspose.Gis
- toplantı Aspose.GIS