I am just started working in WPF application. Here, I need to get the signature from user. I am using
OK, first you need to determine the rectangle to crop (the "stroked region"), then save it to an image.
InkCanvas has a
Strokes property that is the collection of ink strokes, you can get the bounds of each Stroke by calling Stroke.GetBound method. Then you can get the Left property of the "stroked region", which is the Left property of the leftmost bounds. And you also get the Right, Top and Bottom in the same way. I hope you can understand my explanation.
Resizing the cropped image to 300x200 should be quite easy, you can find plenty of answers on Stackoverflow.