Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom Shapes (Read 4106 times)
SL_developer
YaBB Newbies
*
Offline


coding rocks

Posts: 43
Joined: Jul 26th, 2011
Custom Shapes
Dec 13th, 2011 at 5:00am
Print Post  
Hi

How can I create custom shape for diagram, instead of using predefine shapes?


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom Shapes
Reply #1 - Dec 13th, 2011 at 7:25am
Print Post  
Hi,

You can draw the shape using the ShapeDesigner tool, and save it as an xml shape library file. Next, add the library file to the project as content and call ShapeLibrary.LoadFrom when the application starts. Then you should be able to access the Shape object by calling Shape.FromId().

You could as well define shapes directly in code, as shown here:
http://mindfusion.eu/_samples/bpmn2.cs

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


coding rocks

Posts: 43
Joined: Jul 26th, 2011
Re: Custom Shapes
Reply #2 - Dec 13th, 2011 at 7:39am
Print Post  
Thanks for reply

Can you please tell me, where I will get this ShapeDesigner tool?
any web link?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom Shapes
Reply #3 - Dec 13th, 2011 at 8:46am
Print Post  
You should have a shortcut to it under the Windows start menu / MindFusion submenu.

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


coding rocks

Posts: 43
Joined: Jul 26th, 2011
Re: Custom Shapes
Reply #4 - Dec 13th, 2011 at 11:16am
Print Post  
Yes, I found the tool 8)
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint