C# Class ArcMapAddinDistanceAndDirection.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, ISpatialReference ipSpatialRef ) : IFeatureClass

Creates the output featureclass, either fgdb featureclass or a shapefile

DeleteShapeFile ( string shapeFilePath ) : void
PromptUserWithGxDialog ( int iParentWindow ) : string

Prompts the user to save features Use "this.Handle.ToInt32()" as the parentWindow id

Private Methods

Méthode Description
CreatePolylineFeatureClass ( IFeatureWorkspace featWorkspace, string name ) : IFeatureClass

Create the polyline feature class

DeleteFeatureClass ( IFeatureWorkspace fWorkspace, string fcName ) : void

Delete a featureclass

DoesFeatureClassExist ( string gdbPath, string fcName ) : bool

Determines if selected feature class already exists

ExportToShapefile ( string fileNamePath, List graphicsList, ISpatialReference ipSpatialRef ) : IFeatureClass

Export graphics to a shapefile

GetAllDatasetNames ( string gdbFilePath ) : List

Retrieves all datasets names from filegdb

Method Details

CreateFCOutput() public méthode

Creates the output featureclass, either fgdb featureclass or a shapefile
public CreateFCOutput ( string outputPath, SaveAsType saveAsType, List graphicsList, ISpatialReference ipSpatialRef ) : IFeatureClass
outputPath string location of featureclass
saveAsType SaveAsType Type of output selected, either fgdb featureclass or shapefile
graphicsList List List of graphics for selected tab
ipSpatialRef ISpatialReference Spatial Reference being used
Résultat IFeatureClass

DeleteShapeFile() public méthode

public DeleteShapeFile ( string shapeFilePath ) : void
shapeFilePath string
Résultat void

PromptUserWithGxDialog() public méthode

Prompts the user to save features Use "this.Handle.ToInt32()" as the parentWindow id
public PromptUserWithGxDialog ( int iParentWindow ) : string
iParentWindow int The window handle of the parent window
Résultat string