WPF- How can I show a cropped region of an ImageSource in an control?
I have an ImageSource of a vairable size in pixels. I have a caculated crop rectangle, indicating how much of the image we are actually going to use. I don't want to edit the image data directly, but I want my <Image>
control to display only the cropped region of the ImageSource.
Does Microsoft provide a way to automate this?
Any advice is appreciated!