how to draw shapes using mouse

Hi how can i draw any shapes using mouse just like paint brush. Is it possible with wpf

thanx - Nagu



Answer this question

how to draw shapes using mouse

  • tsoft

    You can use an InkCanvas control: it's a control that allow you to use the mouse as a electronical pen, like on the tablet PC.

    But I don't know if this is exactly what you want/are talking about...


  • imrose

    Here is an example:

    <InkCanvas Name="m_InkCanvas" Background="White" />


    Bye


  • RSchoe_MS

    Can anybody give me a sample code for this

    thanx


  • how to draw shapes using mouse