Export Visio Diagram to HTML in PHP

Aspose.Diagram - Export Visio Diagram to HTML

To Export Visio Diagram to HTML using Aspose.Diagram Java für PHP , einfach aufrufenExportToHtml Modul. Hier sehen Sie Beispielcode.

PHP-Code

 # Call the diagram constructor to load diagram from a VSD file

$diagram = new Diagram($dataDir."drawing.vsd");

\# Save as Html

$saveFileFormat=new SaveFileFormat();

$diagram->save($dataDir."Diagram.html", $saveFileFormat->HTML);

print "Exported visio diagram to HTML.".PHP_EOL;

Laufcode herunterladen

Download**Export Visio Diagram to HTML (Aspose.Diagram)**von einer der unten genannten Social-Coding-Sites: