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




out_feature_class
The output feature class containing the fishnet of rectangular cells. (Out, Required)
origin_coord
The starting pivot point of the fishnet. (In, Required)
y_axis_coord
The Y-axis coordinate is used to orient the fishnet. The fishnet is rotated by the same angle as defined by the line connecting the origin and the y-axis coordiinate. (In, Required)
cell_width
Determines the width of each cell. If you want the width to be automatically calculated using the value in the Number of Rows parameter, set this value to zero—the width will be calculated when the tool is run. (In, Required)
cell_height
Determines the height of each cell. If you want the height to be automatically calculated using the value in the Number of Columns parameter, set this value to zero—the height will be calculated when the tool is run. (In, Required)
number_rows
Determines the number of rows the fishnet will have. If you want the number of rows to be automatically calculated using the value in the Cell Size Width parameter, set this value to zero—the number of rows will be calculated when the tool is run. (In, Required)
number_columns
Determines the number of columns the fishnet will have. If you want the number of columns to be automatically calculated using the value in the Cell Size Height parameter, set this value to zero—the number of rows will be calculated when the tool is run. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal out_feature_class As Object, _
   ByVal origin_coord As Object, _
   ByVal y_axis_coord As Object, _
   ByVal cell_width As Double, _
   ByVal cell_height As Double, _
   ByVal number_rows As Integer, _
   ByVal number_columns As Integer _
)
Visual Basic (Usage)Copy Code
Dim out_feature_class As Object
Dim origin_coord As Object
Dim y_axis_coord As Object
Dim cell_width As Double
Dim cell_height As Double
Dim number_rows As Integer
Dim number_columns As Integer
 
Dim instance As CreateFishnet(out_feature_class, origin_coord, y_axis_coord, cell_width, cell_height, number_rows, number_columns)
C# 
public CreateFishnet( 
   object out_feature_class,
   object origin_coord,
   object y_axis_coord,
   double cell_width,
   double cell_height,
   int number_rows,
   int number_columns
)

Parameters

out_feature_class
The output feature class containing the fishnet of rectangular cells. (Out, Required)
origin_coord
The starting pivot point of the fishnet. (In, Required)
y_axis_coord
The Y-axis coordinate is used to orient the fishnet. The fishnet is rotated by the same angle as defined by the line connecting the origin and the y-axis coordiinate. (In, Required)
cell_width
Determines the width of each cell. If you want the width to be automatically calculated using the value in the Number of Rows parameter, set this value to zero—the width will be calculated when the tool is run. (In, Required)
cell_height
Determines the height of each cell. If you want the height to be automatically calculated using the value in the Number of Columns parameter, set this value to zero—the height will be calculated when the tool is run. (In, Required)
number_rows
Determines the number of rows the fishnet will have. If you want the number of rows to be automatically calculated using the value in the Cell Size Width parameter, set this value to zero—the number of rows will be calculated when the tool is run. (In, Required)
number_columns
Determines the number of columns the fishnet will have. If you want the number of columns to be automatically calculated using the value in the Cell Size Height parameter, set this value to zero—the number of rows will be calculated when the tool is run. (In, Required)

See Also

© 2010 All Rights Reserved.