[Visual
Basic] imagekitcontrolname_MouseUpSelectLayerImage(ByVal
Index As Integer, ByVal x As Long, ByVal y As Long)
[Visual
C++] OnMouseUpSelectLayerImageimagekitcontrolname(short
Index, long x, long y)
[VB.NET] imagekitcontrolname_MouseUpSelectLayerImage(ByVal
sender As System.Object, ByVal e As
AxImageKit10(A)Lib._IImageKitEvents_MouseUpSelectLayerImageEvent)
[C#.NET] imagekitcontrolname_MouseUpSelectLayerImage(object
sender,
AxImageKit10(A)Lib._IImageKitEvents_MouseUpSelectLayerImageEvent
e)
AxImageKit10ALib refers to the ANSI version, AXImageKit10Lib refers to the Unicode version.
Parameters
Name | Explanation |
---|---|
Index | The index for the image layer where the mouse was released. (0 to 99) |
x, y | The position of the mouse release in relation to the top left corner of the image layer referred to by the Index parameter (in pixels). In other words, how far the mouse release is from the top left corner of the image layer. |
* The second parameter in VB.NET/C#.NET is e and it contains the Index and other arguments. (the first letter is lower case)
Explanation
The MouseUpSelectLayerImage event is generated when the mouse cursor is over a layer image and the mouse button is released.
If there is more than one layer image at the location where the mouse button was released, the top most image will be selected. For example if at the mouse release location there are two image layers as indicated by the Layer property index 0 and 3, the image layer corresponding to index 3 will be selected. (image layers with larger indexes are displayed above image layers with smaller indexes).