This event is generated when a button on the image editing toolbar (either Raster or Vector) is clicked
[Visual Basic]   imagekitcontrolname_SelEditFunc(ByVal SelFunction As SelEditFuncConstants)
[Visual C++]     OnSelEditFuncimagekitcontrolname(long SelFunction)
[VB.NET]   imagekitcontrolname_SelEditFunc(ByVal sender As System.Object, ByVal e As AxImageKit10(A)Lib._IImageKitEvents_SelEditFuncEvent)
[C#.NET]   imagekitcontrolname_SelEditFunc(object sender, AxImageKit10(A)Lib._IImageKitEvents_SelEditFuncEvent e)

AxImageKit10ALib refers to the ANSI version, AXImageKit10Lib refers to the Unicode version.

Parameters

Name Explanation
SelFunction Retuns the type of button selected.

0: Cursor (Raster and Vector)

1: Zoom (Raster and Vector)

2: Select (Raster and Vector)

3: FreeSelect (Raster only)

4: Pen (Raster only)

5: PickColor (Raster only)

6: Rectangle (Raster and Vector)

7: Ellipse (Raster and Vector)

8: RoundRect (Raster and Vector)

9: Line (Raster and Vector)

10: Curve (Raster only)

11: Fill (Raster only)

12: AirBrush (Raster only)

13: Text (Raster and Vector)

14: Font (Raster and Vector)

15: Eraser (Raster only)

16:PolyLine (Vector only)

17:Polygon (Vector only)

18: Stamp (Raster only)

19:Image (Vector only)



Image Editing ToolBars

Raster, Vector

* The second parameter in VB.NET/C#.NET is e and it contains the SelFunction argument. (the first letter is lower case)

It's also possible to use the following constants (ikArrow = 0, ikZoom = 1, ikSelect = 2, ikFreeSelect = 3, ikPen = 4, ikSelectColor = 5, ikRectangle = 6, ikEllipse = 7, ikRoundRect = 8, ikLine = 9, ikBezier = 10, ikFillColor = 11, ikAirBrush = 12, ikText = 13, ikFont = 14, ikEraser = 15, ikPolyline = 16, ikPolygon = 17, ikStamp = 18, ikImage = 19).

Explanation

The SelEditFunc event is generated when a button on the image editing toolbar (either Raster or Vector) is clicked. The image editing toolbar is displayed by executing the ShowToolBar method of the Edit property.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation