Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Position New Node After Auto Arrange (Read 1485 times)
mclellan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Location: London, Ontario
Joined: Feb 11th, 2008
Position New Node After Auto Arrange
Mar 27th, 2008 at 3:41am
Print Post  
Hello,

I am using the auto arrange feature to logically re-arrange my flowchart after I have dumped all of the nodes onto my page.

This is where I am stuck!
After everything is auto arranged, I would like to place a large chunk of formatted text centered at the bottom of the page. (This is a text description of what the flowchart is). Does anyone have an example I could follow?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Position New Node After Auto Arrange
Reply #1 - Mar 27th, 2008 at 7:54am
Print Post  
Hi,

You can use the Diagram.GetContentBounds method to find the rectangle that contains all diagram elements. Then display the description either by adding a text node just below that rectangle, or by handling the DrawBackground event and calling the DrawStyledText method from the handler.

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


I love YaBB 1G - SP1!

Posts: 45
Location: London, Ontario
Joined: Feb 11th, 2008
Re: Position New Node After Auto Arrange
Reply #2 - Mar 27th, 2008 at 6:04pm
Print Post  
Excellent, thanks!!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint