I got an answer to this question
http://web.archive.org/web/20150302041833/http://www.codeproject.com/Articles/22776/WPF-DrawTools
This article describes a program that allows you to draw graphical objects in a WPF window using the mouse and some drawing tools. The program supports the following tools: rectangle, ellipse, line, pencil and text. My first DrawTools article shows how to do this using Windows Forms. In the WPF version, I implemented a number of additional functions requested by previous readers of the article:
XML Serialization Text Tool Drawing Overlays on a Background Image Print Scaling
Most of the requirements are completed by this link.
EDIT: As of 09/08/2015, the related article has been removed from http://www.codeproject.com
user1360355
source share