Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Multiple Pages (Read 2651 times)
mclellan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Location: London, Ontario
Joined: Feb 11th, 2008
Multiple Pages
Feb 11th, 2008 at 2:11am
Print Post  
I would like to see the ability to have multiple pages supported within the diagram (much like Visio's new page option).

Although there is the abiltity to create an array of flowcharts, and use the tab strip control to look at each one, when it comes time to saving, I need the ability to have them all contained within one file.


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multiple Pages
Reply #1 - Feb 11th, 2008 at 11:25am
Print Post  
Hi,

This would be a very nice feature and will try to implement it in one of the forth-coming releases.

You can save an array of Diagram objects into a single file as shown below.

Code
Select All
FileStream fs = new FileStream(@"C:\test.dg", FileMode.Create);
fs.WriteByte((byte)pages.Length);
foreach (Diagram page in pages)
	page.SaveToStream(fs);
 



and load them in this manner using LoadFromStream.

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