ImageMapClickEventArgsXCoordinate Property
This read-only property is used to get the X coordinate of the click
Namespace: EWSoftware.ImageMapsAssemblies: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2023.1.3.0
public int XCoordinate { get; }
Public ReadOnly Property XCoordinate As Integer
Get
public:
property int XCoordinate {
int get ();
}
member XCoordinate : int with get
Property Value
Int32The X coordinate is only valid in Windows Forms image maps when they are clicked on with the
mouse and for web server control image maps when clicked on with the mouse and rendered in browsers
that support the
event.offsetX property such as Internet Explorer. For browsers that do not
support the property, the coordinate will always be negative one (-1). If an area's click event is
fired by selecting it with the Enter key, the coordinate may not be within the bounds of the area in
the web server control. For image areas selected via the keyboard in the Windows Forms control, the
coordinate will always be negative one (-1).