Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Title (Read 2483 times)
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Title
Nov 16th, 2007 at 4:02pm
Print Post  
Is there any way to do any of the following with the title of a printed FCX diagram?

  • Change the font and font size
  • Create a multi-line title

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Title
Reply #1 - Nov 16th, 2007 at 8:23pm
Print Post  
The control uses the FlowChart.Font to print the header text, so you can set  FlowChart.Font to the one you need before printing, and restore it back after that. However, FlowChart.Font is used to draw the text of all boxes and arrows whose font is not specified explicitly, so you might need to set the objects' fonts too.

I guess you could insert /n/r symbols into the header title to create multi-line text, but the control will not increase the header area size, so the title might overlap some objects that are printed just below the header.

Stoyan
  
Back to top
 
IP Logged
 
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Re: Title
Reply #2 - Dec 3rd, 2007 at 6:53pm
Print Post  
Ok, so instead of changing the title, I decided to go with a table that will hold information such as title, date of creation, etc. This is much cleaner anyway.

I want that table to be in the upper left hand corner of the diagram and I want the entire diagram moved down so that it does not collide with this table.

All of the nodes in the diagram are arranged from top-down starting from a single node and every node is grouped to its parent.

When I do a TopNode.MoveTo(x,y) it moves all of the boxes down, however the arrows of the boxes that are laid out centrally do not move with them.

Is there a way that I can move the entire diagram down?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Title
Reply #3 - Dec 4th, 2007 at 6:33am
Print Post  
Instead of moving all boxes and arrows down, you could call

fc.SetDocSize(fc.DocLeft, fc.DocTop - tableHeight, fc.DocRight, fc.DocBottom)

to offset the document top boundary, and then create the table at (fc.DocLeft, fc.DocTop).

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