Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Increase Size of Shape Node. (Read 1839 times)
SandeepGowda
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 6th, 2009
Increase Size of Shape Node.
Apr 6th, 2009 at 1:17pm
Print Post  
Hi,
   Can you please help me in Increasing size of Shape Node/Nodes and also set Background color on selection.

regards
sandeep.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Increase Size of Shape Node.
Reply #1 - Apr 6th, 2009 at 1:57pm
Print Post  
Hi,

Handle NodeSelected like this:

RectangleF r = e.Node.Bounds;
r.Inflate(5, 5);
e.Node.Bounds = r;
e.Node.Brush = new SolidBrush(Color.Blue);

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
SandeepGowda
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 6th, 2009
Re: Increase Size of Shape Node.
Reply #2 - Apr 6th, 2009 at 2:31pm
Print Post  
Hi Stoyan,
   
    I am using the Default example of FlowCharter, where we need to Drag and Drop the shape nodes.

Can we increase the size of Shape Node.


regards
Sandeep.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Increase Size of Shape Node.
Reply #3 - Apr 6th, 2009 at 3:56pm
Print Post  
Change the SizeF used in the diagramView_DragDrop handler.

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