Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to stretch image if using DiagramNode (Read 1463 times)
solisgsandc
YaBB Newbies
*
Offline



Posts: 40
Joined: Dec 18th, 2009
How to stretch image if using DiagramNode
Dec 22nd, 2009 at 11:26pm
Print Post  
I used DiagramNode.UIElement and set that to an Image. The image is not stretching. I would prefer not to use the ShapeNode. Can you please explain if this is possible?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to stretch image if using DiagramNode
Reply #1 - Dec 23rd, 2009 at 8:48am
Print Post  
Are you adding an Image control via DiagramNodeAdapter? In such case try setting the adapter's SizeSyncMode to Arrange or SetSize. I suppose you will also have to set the Image.Stretch property.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
solisgsandc
YaBB Newbies
*
Offline



Posts: 40
Joined: Dec 18th, 2009
Re: How to stretch image if using DiagramNode
Reply #2 - Dec 23rd, 2009 at 7:03pm
Print Post  
Thanks. The SetSize works.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint