Export Visio Diagram to HTML in PHP
Contents
[
Hide
]
Aspose.Diagram - Export Visio Diagram to HTML
To Export Visio Diagram to HTML using Aspose.Diagram Java 用于 PHP 只需调用导出到 HTML模块。在这里您可以看到示例代码。
PHP代码
# 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;
下载运行代码
下载**Export Visio Diagram to HTML (Aspose.Diagram)**来自以下任何社交编码网站: