Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ShapeDesigner question (Read 2594 times)
nikulin_andrey
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Dec 1st, 2006
ShapeDesigner question
Feb 28th, 2007 at 3:27pm
Print Post  
Hi,

There is not enough of ShapeDesigner documentation in demo version and I can't find how can I load a shape template back to the shape designer to edit it?

So I have created some shape. saved all info which I got from createShapeTemplate() method in db. But how to load it back into shape designer?

Thanks

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeDesigner question
Reply #1 - Feb 28th, 2007 at 4:47pm
Print Post  
Hi,

You can assign the ShapeTemplate instance to the ShapeDesignerCtrl.Shape property. E.g. the \Samples\C#\ShapeDesigner example handles the ShapeSelected event of the shape list box like this:

Code
Select All
private void shapeListBox1_ShapeSelected(object sender, ShapeEventArgs e)
{
	if (e.ShapeTemplate != null)
	{
		shapeDesigner1.Shape = e.ShapeTemplate;
	}
}
 



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


I love YaBB 1G - SP1!

Posts: 17
Joined: Feb 27th, 2007
Re: ShapeDesigner question
Reply #2 - Mar 1st, 2007 at 8:02am
Print Post  
I don't find the shapeDesigner.Shape definition in MindFusion.Tools.ShapeDesignerCtrl.ShapeDesigner

I have the 4.2.2 demo version and i found the ShapeDesignerCtrl.dll into the root directory of the "FlowChart.NET Demo" directory not into the "Assemblies for .NET 2.0" directory.

The version of ShapeDesignerCtrl.dll is 1.0.2531.17748

am i wrong?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeDesigner question
Reply #3 - Mar 1st, 2007 at 10:44am
Print Post  
The ShapeDesignerCtrl.Shape property is new for FlowChart.NET 4.3, which we have released a few days ago. The new version also contains a .NET 2.0 build of the ShapeDesigner control.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeDesigner question
Reply #4 - Mar 1st, 2007 at 10:45am
Print Post  
You can already download the 4.3 demo version here -

https://mindfusion.eu/FCNetDemo.zip
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint