ESRI.ArcGIS.ADF.Web.UI.WebControls
Line Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : Line Event




Occurs when a line has been dragged on the Map control using the Line client tool action.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Raised when the control processes a tool associated with the Line Client Tool Action")>
<ResCategoryAttribute("Client Tool Action")>
Public Event Line As MapLineEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim handler As MapLineEventHandler
 
AddHandler instance.Line, handler
C# 
[ResDescriptionAttribute("Raised when the control processes a tool associated with the Line Client Tool Action")]
[ResCategoryAttribute("Client Tool Action")]
public event MapLineEventHandler Line

Event Data

The event handler receives an argument of type LineEventArgs containing data related to this event. The following LineEventArgs properties provide information specific to this event.

PropertyDescription
BeginPoint The starting screen Point of the Line.
Control (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs) The map control.
EndPoint The ending screen Point of the Line.
ToolName (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs) The name of the tool or tool item that caused the postback.

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.