VisioAutomation.VDX 1.1.0 Released
Friday, December 20, 2013 at 10:31AM This release of VisioAutomation.VDX simplifies the process of initially creating the VDX Drawing object and the process of saving it to VDX format.
To create a new Drawing object using the default (built-in) template
using VA = VisioAutomation;
var template = new VA.VDX.Template();
var doc = new VA.VDX.Elements.Drawing(template);
To create a new Drawing object using your own template:
string xml = System.IO.File.ReadAllText( “somefile.vdx” );
var template = new VA.VDX.Template( xml );
var doc = new VA.VDX.Elements.Drawing(template);
To save as a VDX file
doc.Save( “output.vdx” );
saveenr |
3 Comments | 