IGeoselect Interface (Geoselect)
Available
with ArcGIS Desktop
Members
ChangeDatasources |
Changes datasources
of all layers of the current document |
ImportData |
Imports data from another
document |
Publish |
Transfers datasets of the
layers in current project to specified place (Geodatabase,
Folders e.g) |
OutputDocPath – path to output project
ImportedDocPath – project path to be imported
SourceFile – path to project to be
published
TargetFile – path to output project
SpatialOption – False if you want to project all features to coordinate system of
the frame, it’s True otherwise.
ConvertTo – indicates output dataset type
(feature class, SDE feature class or shapefile)
SdeName – name of SDE user
SdePass – password of SDE user
CoClasses:
Geoselect class
Public Enum EnumConvertTo
EnumConvertTo _enumConvertToFeatureClass = 1 ‘ Converts to feature classes
EnumConvertTo _enumConvertToSDEFeatureClass = 2 ‘ Converts to SDE
feature classes
EnumConvertTo _enumConvertToShapefile = 3 ‘ Converts to shapefiles
End Enum
Public Structure TDataSource
Dim OldDataSource
As String ‘ Old datasource path
Dim NewDataSource
As String ‘ New datasourse path
Dim Type As String ‘ Datasource type
End Structure
Example: