ImageClickEventArgs Constructors

Definition

Initializes a new instance of the ImageClickEventArgs class.

Overloads

ImageClickEventArgs(Int32, Int32)

Initializes a new instance of the ImageClickEventArgs class using the x and y parameters.

ImageClickEventArgs(Int32, Int32, Double, Double)

Initializes a new instance of the ImageClickEventArgs class using the x, y, xRaw, and yRaw parameters.

ImageClickEventArgs(Int32, Int32)

Initializes a new instance of the ImageClickEventArgs class using the x and y parameters.

C#
public ImageClickEventArgs(int x, int y);

Parameters

x
Int32

The x-coordinate where the user clicked an image-based ASP.NET server control.

y
Int32

The y-coordinate where the user clicked an image-based ASP.NET server control.

See also

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ImageClickEventArgs(Int32, Int32, Double, Double)

Initializes a new instance of the ImageClickEventArgs class using the x, y, xRaw, and yRaw parameters.

C#
public ImageClickEventArgs(int x, int y, double xRaw, double yRaw);

Parameters

x
Int32

The x-coordinate where a user clicked an image-based ASP.NET server control.

y
Int32

The y-coordinate where a user clicked an image-based ASP.NET server control.

xRaw
Double

The raw x-coordinate where a user clicked an image-based ASP.NET server control.

yRaw
Double

The raw y-coordinate where a user clicked an image-based ASP.NET server control.

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1