Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Export to visio (Read 2249 times)
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Export to visio
Oct 1st, 2012 at 10:04am
Print Post  
Dear stoyan,

            i am trying to export the objects to visio using the "PDF exporter" sample.


            saveFileDialog.DefaultExt = "visio";
            saveFileDialog.Filter = "visio files|*.vsd";
                 if (saveFileDialog.ShowDialog() == DialogResult.OK)
                 {

                MindFusion.Diagramming.Export.VisioExporter visioexp = new Export.VisioExporter();
                //visioexp.ExportImagesAsGroups = false;
                visioexp.Export(diagramView1.Diagram, saveFileDialog.FileName);
                 }

but i am getting a error
Could not find file 'C:\Documents and Settings\LBITIND\Desktop\VisioExport.vxt'.

FYI : i am trying to save the file in desktop as testing.vsd
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export to visio
Reply #1 - Oct 1st, 2012 at 10:38am
Print Post  
You should copy VisioExport.vxt to your project's output folder. It contains some skeleton vdx markup code used by the exporter. If VisioExport.vxt isn't located in the same folder as the executable file, set VisioExpoter.TemplatePath to point to it. Also note that the exporter does not create binary format .vsd files, but xml format .vdx files.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Export to visio
Reply #2 - Oct 1st, 2012 at 12:20pm
Print Post  
Sorry stoyan,
            i did n't find any "VisioExport.vxt " file in my system?
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export to visio
Reply #3 - Oct 1st, 2012 at 12:38pm
Print Post  
There should be one in the bin subfolder of the flowchart.net's installation root folder.
  
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Export to visio
Reply #4 - Oct 1st, 2012 at 3:19pm
Print Post  
Thanks stoyan
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint