Export Visio Diagram to XPS in PHP

Aspose.Diagram - Export Visio Diagram to XPS

To Export Visio Diagram to XPS using Aspose.Diagram Java für PHP , einfach aufrufenExportToXps 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 XPS

$saveFileFormat=new SaveFileFormat();

$diagram->save($dataDir."Diagram.xps", $saveFileFormat->XPS);

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

Laufcode herunterladen

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