Export Visio Diagram to PDF in PHP
Contents
[
Hide
]
Aspose.Diagram - Export Visio Diagram to PDF
To Export Visio Diagram to PDF using Aspose.Diagram Java for PHP, simply invoke ExportToPdf 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 PDF file format
$saveFileFormat=new SaveFileFormat();
$diagram->save($dataDir."Diagram.pdf", $saveFileFormat->PDF);
print "Exported visio diagram to pdf.".PHP_EOL;
Download Running Code
Download Export Visio Diagram to PDF (Aspose.Diagram) from any of the below mentioned social coding sites: