[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)
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. |
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).
If using Visual Basic.NET or Visual C#.NET, please refer to the section Regarding VB.NET and C#.NET.