Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Resizing node at runtime (Read 1699 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Resizing node at runtime
Apr 29th, 2009 at 7:52am
Print Post  
Hi,

I have some ShapeNodes in my sample project. I want to resize those ShapeNodes at runtime (like stretch, increase height, increase width, increase dimension etc).


How it is possible?

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resizing node at runtime
Reply #1 - Apr 29th, 2009 at 9:38am
Print Post  
Hi,

Call the DiagramNode.Resize method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Re: Resizing node at runtime
Reply #2 - Apr 29th, 2009 at 3:58pm
Print Post  
No, I don’t want to do this.

When my application is running, at that time I want to resize node by sketching through the mouse. It is same as the operation, as we does with a simple button. We can change the dimension of the button by just sketching the mouse over the button.
I hope now you got what I want.


Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resizing node at runtime
Reply #3 - Apr 30th, 2009 at 8:02am
Print Post  
You could append a ScaleTransform to the node's RenderTransform, as in this post:
http://mindfusion.eu/Forum/YaBB.pl?board=wpfdg_disc;action=display;num=123994983...

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