coolpjmartin
Feb 6th, 2009, 05:35 AM
Can someone please help me.
What I what to do is display a picture (image) and drawer a clip region using the mouse on a selected area on the image, this could be a retangle, square or a freehand shape, I think this could be done using path geometries and clip.
http://msdn.microsoft.com/en-us/library/ms751808(VS.85).aspx
Once I have marked the clip region, I then want to be able to save the selected clipped image as a new image (bitmap).
but I am not sure how to do this.
does anyone have any sample code, or suggestions.
this can be in either vb.net ot c#
Thanks
What I what to do is display a picture (image) and drawer a clip region using the mouse on a selected area on the image, this could be a retangle, square or a freehand shape, I think this could be done using path geometries and clip.
http://msdn.microsoft.com/en-us/library/ms751808(VS.85).aspx
Once I have marked the clip region, I then want to be able to save the selected clipped image as a new image (bitmap).
but I am not sure how to do this.
does anyone have any sample code, or suggestions.
this can be in either vb.net ot c#
Thanks