ESRI.ArcGIS.DataManagementTools
spatial_reference Property
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > CreateFeatureclass Class : spatial_reference Property




The spatial reference of the output feature class. You can specify the spatial reference in several ways: By entering the path to a .prj file, such as C:/workspace/watershed.prj. By referencing a feature class whose spatial reference you want to apply, such as C:/workspace/myproject.gdb/landuse/grassland . By defining a spatial reference object prior to defining the Create Feature Class function, such as sr = arcpy.SpatialReference("C:/data/Africa/Carthage.prj") which you then call in the Create Feature Class tool. Refer to the Stand-alone Code Sample below. (In, Optional)

Syntax

Visual Basic (Declaration) 
Public Property spatial_reference As Object
Visual Basic (Usage)Copy Code
Dim instance As CreateFeatureclass
Dim value As Object
 
instance.spatial_reference = value
 
value = instance.spatial_reference
C# 
public object spatial_reference {get; set;}

See Also

© 2010 All Rights Reserved.