C# Class ProAppDistanceAndDirectionModule.Models.FeatureClassUtils

Afficher le fichier Open project: Esri/distance-direction-addin-dotnet

Méthodes publiques

Méthode Description
CreateFCOutput ( string outputPath, SaveAsType saveAsType, List graphicsList, SpatialReference spatialRef, MapView mapview, GeomType geomType, bool isKML = false ) : System.Threading.Tasks.Task

Creates the output featureclass, either fgdb featureclass or shapefile

PromptUserWithSaveDialog ( bool featureChecked, bool shapeChecked, bool kmlChecked ) : string

Prompts the user to save features

Private Methods

Méthode Description
CreateFeatureClass ( string dataset, GeomType geomType, string connection, SpatialReference spatialRef, List graphicsList, MapView mapview, bool isKML = false ) : System.Threading.Tasks.Task

Create a feature class

CreateFeatures ( List graphicsList ) : System.Threading.Tasks.Task

Create polyline features from graphics and add to table

Method Details

CreateFCOutput() public méthode

Creates the output featureclass, either fgdb featureclass or shapefile
public CreateFCOutput ( string outputPath, SaveAsType saveAsType, List graphicsList, SpatialReference spatialRef, MapView mapview, GeomType geomType, bool isKML = false ) : System.Threading.Tasks.Task
outputPath string location of featureclass
saveAsType SaveAsType Type of output selected, either fgdb featureclass or shapefile
graphicsList List List of graphics for selected tab
spatialRef SpatialReference
mapview MapView
geomType GeomType
isKML bool
Résultat System.Threading.Tasks.Task

PromptUserWithSaveDialog() public méthode

Prompts the user to save features
public PromptUserWithSaveDialog ( bool featureChecked, bool shapeChecked, bool kmlChecked ) : string
featureChecked bool
shapeChecked bool
kmlChecked bool
Résultat string