Export Visio Diagram to SVG in PHP
Contents
[
Hide
]
Aspose.Diagram - Export Visio Diagram to SVG
To Export Visio Diagram to SVG using Aspose.Diagram Java for PHP, simply invoke ExportToSvg module. Here you can see example code.
PHP Code
# Call the diagram constructor to load diagram from a VSD file
$diagram = new Diagram($dataDir."drawing.vsd");
\# Save as SVG
$saveFileFormat=new SaveFileFormat();
$diagram->save($dataDir."Diagram.svg", $saveFileFormat->SVG);
print "Exported visio diagram to SVG.".PHP_EOL;
Download Running Code
Download Export Visio Diagram to SVG (Aspose.Diagram) from any of the below mentioned social coding sites: