ESRI.ArcGIS.ADF.ArcGISServer.Editor
EditorTool Constructor(String,String,Boolean,ToolGeometry,Int32)
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer.Editor.Tools Namespace > EditorTool Class > EditorTool Constructor : EditorTool Constructor(String,String,Boolean,ToolGeometry,Int32)




name
The name of the tool.
mapID
The ClientID of the map control used for editing with this tool.
useSnapping
Whether the input geometry should have the configured snapping settings applied.
geometryType
The type of geometry the tool operates on.
minSelectedFeatures
The minimum number of features that must be selected for the tool to operate.
Creates an EditorTool instance.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal mapID As String, _
   ByVal useSnapping As Boolean, _
   ByVal geometryType As ToolGeometry, _
   ByVal minSelectedFeatures As Integer _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim mapID As String
Dim useSnapping As Boolean
Dim geometryType As ToolGeometry
Dim minSelectedFeatures As Integer
 
Dim instance As New EditorTool(name, mapID, useSnapping, geometryType, minSelectedFeatures)
C# 
public EditorTool( 
   string name,
   string mapID,
   bool useSnapping,
   ToolGeometry geometryType,
   int minSelectedFeatures
)

Parameters

name
The name of the tool.
mapID
The ClientID of the map control used for editing with this tool.
useSnapping
Whether the input geometry should have the configured snapping settings applied.
geometryType
The type of geometry the tool operates on.
minSelectedFeatures
The minimum number of features that must be selected for the tool to operate.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.