Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Image Source for ShapeNode.Iamge (Read 1952 times)
chris
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 57
Joined: Feb 1st, 2008
Image Source for ShapeNode.Iamge
May 20th, 2009 at 7:13pm
Print Post  
Hi Stoyan,

The type of property ShapeNode.Iamge is BitmapSource. And the Source property of WPF Image control is System.Windows.ImageSource.

Can you change the ShapeNode.Image to ImageSource so we can get DrawingImage from xaml file and assign to ShapeNode.Image? There are a lot of advantages to use xaml DrawingImage than Bitmap.

Right now I have to transfer DrawingImage to Bitmap before I assign it to ShapeNode.Iamge.

Thanks a lot!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Image Source for ShapeNode.Iamge
Reply #1 - May 21st, 2009 at 4:55am
Print Post  
Hi Chris,

Ok, we'll do that.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Image Source for ShapeNode.Iamge
Reply #2 - Jun 10th, 2009 at 5:15am
Print Post  
Hi Chris,

This version changes the type of all image properties to ImageSource:
https://mindfusion.eu/_beta/wpfdiag22.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint