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 |
It's also possible to use the following constants in Visual Basic (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.