Tablet Ink and GDI+
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, This week I was given something cool to do. Take a Tablet and Ink enable our Tiff viewing app. Sounded easy. This is what I have: 1 Microsoft.Ink.InkPicture inkPic, that I’m loading with inkPic.image = SomeTiffFromFile I’m not bothered by scaling problems yet. This control captures Ink and saves it as Strokes and it works wonderfully. I’m trying to save the Ink into the Tiff. This is what I have tried: First I bring the Tiff into Drawing.Bitmap bmp = Image.FromFile(“filename”) (this is the same file I use as the inkPic.Image) Then I make a new Graphic from the Bitmap. Since Ink is made of Points (Ink.Strokes[Foreach].GetPoints(Foreach)) I figured I could do this Graphics g = Graphics.FromImage(bmp); for (int i=0; i