C# 클래스 ArcMapAddinDistanceAndDirection.Models.FeatureClassUtils

파일 보기 프로젝트 열기: Esri/distance-direction-addin-dotnet

공개 메소드들

메소드 설명
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