Here is simple panel for VB.NET with Ink Tools.
It's perfect for use with touch screen, with mouse - not so.


Here are:
1. Brush size adjust: bigger, smaller and trun bruch 90 degree
2. Ink brush
3. Marker tool
4. Color picker
5. Eraser
6. Block eraser
7. Clear button

If anyone will use - please remind me to add SAVE IMAGE feature.

For use:
1. Add InkTools.vb file to your project
2. Add "inktools\" folder to executable (it's tools icons)
3. Then in main code:

'INIT PANEL OBJECT
Dim InkToolsPanel As New InkTools With {.Visibility = Visibility.Hidden}

'ADD PANEL OBJECT TO YOUR GRID
YourGrid.Children.Add(InkToolsPanel)

'SHOW PANEL AND ASSIGN TO CANVAS WHEN YOU NEED
InkToolsPanel.Visibility = Visibility.Visible
InkToolsPanel.ICanvas = InkCanvasSlide

'AND HIDE WHEN NO NEED
InkToolsPanel.Visibility = Visibility.Hidden
InkToolsPanel.ICanvas = Nothing


If you looking for DLL build - send me comment

Last edited Sep 5, 2013 at 4:40 AM by issimple, version 5