Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Saving diagrams in WMF or EMF format (Read 4438 times)
alfrye
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Sep 30th, 2009
Saving diagrams in WMF or EMF format
Jun 15th, 2010 at 9:54pm
Print Post  
I am working on a project that has a requirement to save diagrams to WMF or EMF format.

Does the mindfusion WPFdiagram components have the capability to save your diagrams in WMF or EMF format.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Saving diagrams in WMF or EMF format
Reply #1 - Jun 16th, 2010 at 9:08am
Print Post  
It doesn't. You can save diagram images in Xaml or Svg vector graphics formats at this time. We'll see if we can add Wmf support for the next release.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Saving diagrams in WMF or EMF format
Reply #2 - Jun 17th, 2010 at 8:19pm
Print Post  
This version adds a WmfExporter component:
https://mindfusion.eu/_beta/wpfdiag_wmf.zip

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


I love YaBB 1G - SP1!

Posts: 16
Joined: Sep 30th, 2009
Re: Saving diagrams in WMF or EMF format
Reply #3 - Jun 22nd, 2010 at 8:11pm
Print Post  
I will give the new version a try.

Thanks!
  
Back to top
AIM  
IP Logged
 
alfrye
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Sep 30th, 2009
Re: Saving diagrams in WMF or EMF format
Reply #4 - Jun 28th, 2010 at 10:10pm
Print Post  
Stoyo,

I noticed the  Wmfexport allows you to pass in a diagram. This there a way export just the selected items in a diagram.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Saving diagrams in WMF or EMF format
Reply #5 - Jun 29th, 2010 at 6:04am
Print Post  
You could create a temporary diagram, copy the selected items there and then export it:

Code
Select All
var selCopy = diag.CopySelection(diag, true, groups);
var temp = new Diagram();
diag.PasteSelection(temp, data, null, new Vector()));
wmfExporter.Export(temp); 



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