.netdrawingmicrosoft.ink

What API's are there to enable drawing in a Web App?


I need something similar to the Silverlight InkPresenter, that allows a freehand drawing to be saved onto a picture (so a fixed background and a drawn foreground saved into one final picture).

However we have a number of customers who won't use Silverlight and won't upgrade beyond .Net 2 on their machines. So, I'm having trouble finding the right tool for the job (or even if one exists given my constraints):

I have used Tablet PC additions for the .Net2 client, but it isn't particularly good. I wondered what other options were available? Ideally using web-based .Net (3.5/4) or JavaScript API.


Solution

  • Ideally using web-based .Net (3.5/4) or JavaScript API.

    Well if your customers wont upgrade beyond NET 2.0 then this avenue is right out!

    What's wrong with using Photoshop or even Paint.NET to produce your graphics. Paint.NET is free (donations accepted) and allows you to store images in several layers, which you can then "squash" into bitmaps, jpegs etc for use as images on Winforms/ASP pages.

    EDIT Ignore the previous answer

    If you're after free hand drawing functionality then have a look at this and see if it meets your needs. I know that it's mainly vector graphics, but there may be something in it that you can use and if you subscribe you get the source code.

    Otherwise if you servers can use a higher level NET version than 2 then how about drag and drop of predefined controls/elements using WPF.