Export Visio Diagram to XAML in PHP

Aspose.Diagram - Export Visio Diagram to XAML

To Export Visio Diagram to XAML using Aspose.Diagram Java 用于 PHP 只需调用导出到 Xaml模块。在这里您可以看到示例代码。

PHP代码

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

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

\# Save as XAML

$saveFileFormat=new SaveFileFormat();

$diagram->save($dataDir."Diagram.xaml", $saveFileFormat->XAML);

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

下载运行代码

下载**Export Visio Diagram to XAML (Aspose.Diagram)**来自以下任何社交编码网站: