Convert Visio to Excel format
Exporting to Excel
Aspose.Diagram for Java directly writes the information about the API and Version Number in output documents. For example, upon rendering a Drawing to Excel, Aspose.Diagram for Java populates Application field with value ‘Aspose.Diagram’ and Excel Producer field with a value, e.g ‘Aspose.Diagram 17.9’.
Please note that you cannot instruct Aspose.Diagram for Java API to change or remove this information from output Documents.
This article explains how to export a Microsoft Visio diagram to Excel using Aspose.Diagram for Java API.
Use the Diagram class' constructor to read the diagram files and the Save method to export the diagram to any supported image format.
The image below shows the VSD diagram that the code snippets below export Excel. You can use other diagram formats (VSS, VSSX, VSSM, VDX, VST, VSTX, VSTM, VDX, VTX or VSX) as well.
The source file.
To export VSD diagram to Excel:
- Create an instance of the Diagram class.
- Call the Diagram classs Save method and set the output format to Excel.