C# Класс ArcMapAddinDistanceAndDirection.Models.FeatureClassUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateFCOutput() публичный Метод

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
Результат IFeatureClass

DeleteShapeFile() публичный Метод

public DeleteShapeFile ( string shapeFilePath ) : void
shapeFilePath string
Результат void

PromptUserWithGxDialog() публичный Метод

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
Результат string