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




in_table
Table with fields for starting and ending X and Y coordinates. (In, Required)
out_featureclass
Feature class that will contain the output lines. (Out, Required)
startx_field
Starting point's X coordinate field. (In, Required)
starty_field
Starting point's Y coordinate field. (In, Required)
endx_field
Ending point's X coordinate field. (In, Required)
endy_field
Ending point's Y coordinate field. (In, Required)
line_type
Type of two-point lines to construct. Default line type is GEODESIC. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_table As Object, _
   ByVal out_featureclass As Object, _
   ByVal startx_field As Object, _
   ByVal starty_field As Object, _
   ByVal endx_field As Object, _
   ByVal endy_field As Object, _
   ByVal line_type As String _
)
Visual Basic (Usage)Copy Code
Dim in_table As Object
Dim out_featureclass As Object
Dim startx_field As Object
Dim starty_field As Object
Dim endx_field As Object
Dim endy_field As Object
Dim line_type As String
 
Dim instance As XYToLine(in_table, out_featureclass, startx_field, starty_field, endx_field, endy_field, line_type)
C# 
public XYToLine( 
   object in_table,
   object out_featureclass,
   object startx_field,
   object starty_field,
   object endx_field,
   object endy_field,
   string line_type
)

Parameters

in_table
Table with fields for starting and ending X and Y coordinates. (In, Required)
out_featureclass
Feature class that will contain the output lines. (Out, Required)
startx_field
Starting point's X coordinate field. (In, Required)
starty_field
Starting point's Y coordinate field. (In, Required)
endx_field
Ending point's X coordinate field. (In, Required)
endy_field
Ending point's Y coordinate field. (In, Required)
line_type
Type of two-point lines to construct. Default line type is GEODESIC. (In, Required)

See Also

© 2010 All Rights Reserved.