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




in_zone_data
Dataset that defines the zones. (In, Required)
zone_field
Field that holds the values that define each zone. (In, Required)
in_value_raster
Raster that contains the values on which to calculate a statistic. (In, Required)
out_raster
The output zonal statistics raster. (Out, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_zone_data As Object, _
   ByVal zone_field As Object, _
   ByVal in_value_raster As Object, _
   ByVal out_raster As Object _
)
Visual Basic (Usage)Copy Code
Dim in_zone_data As Object
Dim zone_field As Object
Dim in_value_raster As Object
Dim out_raster As Object
 
Dim instance As ZonalStatistics(in_zone_data, zone_field, in_value_raster, out_raster)
C# 
public ZonalStatistics( 
   object in_zone_data,
   object zone_field,
   object in_value_raster,
   object out_raster
)

Parameters

in_zone_data
Dataset that defines the zones. (In, Required)
zone_field
Field that holds the values that define each zone. (In, Required)
in_value_raster
Raster that contains the values on which to calculate a statistic. (In, Required)
out_raster
The output zonal statistics raster. (Out, Required)

See Also

© 2010 All Rights Reserved.