Create an empty Visio Diagram in PHP
Contents
[
Hide
]
Aspose.Diagram - Create an empty Visio Diagram
To Create an empty Visio Diagram using Aspose.Diagram Java for PHP, simply invoke CreateDiagram module. Here you can see example code.
PHP Code
# Create instance of Diagram
$diagram = new Diagram();
\# Save as VDX
$saveFileFormat=new SaveFileFormat();
$diagram->save($dataDir."CreateDiagram.vdx", $saveFileFormat->VDX);
print "Created visio diagram successfully!".PHP_EOL;
Download Running Code
Download Create an empty Visio Diagram (Aspose.Diagram) from any of the below mentioned social coding sites: