imagekitcontrolname.SetMouseCursorType(long Val)
Property Value
Value | Explanation |
---|---|
0 | Standard arrow (Default) |
1 | Standard arrow and small hourglass |
2 | Crosshair |
3 | Standard arrow and question mark |
4 | I-beam |
6 | Forbidden mark |
8 | 4 direction arrow |
9 | Double-pointed arrow pointing northeast and southwest |
10 | Double-pointed arrow pointing north and south |
11 | Double-pointed arrow pointing northwest and southeast |
12 | Double-pointed arrow pointing west and east |
13 | Vertical arrow |
14 | Hourglass |
15 | Custom |
16 | Hidden |
17 | Image-editing toolbars default cursor |
It is also possible to use the following constants in Visual Basic (ikCursorARROW = 0, ikCursorAPPSTARTING = 1, ikCursorCROSS = 2, ikCursorHELP = 3, ikCursorIBEAM = 4, ikCursorNO = 6, ikCursorSIZEALL = 8, ikCursorSIZENESW = 9, ikCursorSIZENS = 10, ikCursorSIZENWSE = 11, ikCursorSIZEWE = 12, ikCursorUPARROW = 13, ikCursorWAIT = 14, ikCursorCustom = 15, ikCursorNoShow = 16, ikCursorDefault = 17).
Explanation
The MouseCursorType property sets the shape of the mouse cursor used in the ImageKit Control. When the MouseCursorType property is set to 15 (ikCursorCustom), a cursor file name must be set in the MouseCursorTypeFile property. When the MouseCursorType property is 17, the cursors that are designated by the ImageKit8 as the default cursors for each of the buttons on the image editing toolbars are used.
Note: This property is different from the RectMouseCursorType property which sets the shape of the cursor when the mouse is dragged in the ImageKit Control.
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.