using (FileStream fileStream = openDialog.File.OpenRead())
imageEditor.Image = new RadBitmap(fileStream);
imgPreview.Source = bitmap;
imgPreview is a Image control.
This code doesn't work, please, can you help me with it?
1 Answer, 1 is accepted
answered on 26 Sep 2017, 08:49 AM
The Resize() method of RadBitmap won't modify the current image, but it will create a copy and return it. So, if you want to get the resized image you will need to assign the result from the Resize() method on something. For example: