Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Save CroppedBitmap to file?

$
0
0
 

Dear PROs,

Is it possible to save a CroppedBitmap object to a file?

CroppedBitmap cb = new CroppedBitmap(    

   (BitmapSource)this.Resources["masterImage"],

   new Int32Rect(30, 20, 105, 50));      

Regards,
Gary


Viewing all articles
Browse latest Browse all 18858