ESRI.ArcGIS.DataManagementTools
Project Constructor(Object,Object,Object)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > Project Class > Project Constructor : Project Constructor(Object,Object,Object)




in_dataset
The feature class, feature layer, or feature dataset to be projected. (In, Required)
out_dataset
The new feature dataset or feature class that has the coordinate system specified in the output coordinate system parameter. (Out, Required)
out_coor_system
Valid values are a file with a .prj extension (.prj files shipped with ArcGIS are available at the ArcGIS installation directory in the Coordinate System folder) or a string representation of a coordinate system. This string representation can be generated by adding a coordinate system variable to ModelBuilder, setting the variable's value as desired, then exporting the model to a Python script. The string can then be copied from the Python script. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_dataset As Object, _
   ByVal out_dataset As Object, _
   ByVal out_coor_system As Object _
)
Visual Basic (Usage)Copy Code
Dim in_dataset As Object
Dim out_dataset As Object
Dim out_coor_system As Object
 
Dim instance As Project(in_dataset, out_dataset, out_coor_system)
C# 
public Project( 
   object in_dataset,
   object out_dataset,
   object out_coor_system
)

Parameters

in_dataset
The feature class, feature layer, or feature dataset to be projected. (In, Required)
out_dataset
The new feature dataset or feature class that has the coordinate system specified in the output coordinate system parameter. (Out, Required)
out_coor_system
Valid values are a file with a .prj extension (.prj files shipped with ArcGIS are available at the ArcGIS installation directory in the Coordinate System folder) or a string representation of a coordinate system. This string representation can be generated by adding a coordinate system variable to ModelBuilder, setting the variable's value as desired, then exporting the model to a Python script. The string can then be copied from the Python script. (In, Required)

See Also

© 2010 All Rights Reserved.