We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Noticed an Issue with Visio read n write


we are seeing issues with Visio diagram dlls.

I have a sample visio file with some diagram in that file.
I use your sample file and update it to open the sample file and save the file. what I noticed is that the diagram in the visio file is distorted.

I can provide the vsdx file that has this issue.



Please provide sample source .vsdx and used code snippet for our reference. We will test the scenario in our environment and address it accordingly.

Hello Asad,

please find the sample program attached with the visio diagram.

thanks,ReadWriteVisio.zip (1.6 MB)


We have used Aspose.Diagram for .NET 20.9 and tested the scenario in our environment. We were unable to notice any issue. For your kind reference, an output Diagram is also attached. Would you kindly check it and let us know if you notice any issue in it.

doc_out.zip (1.5 MB)

Hello Asad,

Did you run my sample program as is or did you make any changes to the program?



We used same code snippet which you have shared in your project as below:

LoadOptions loadOptions = new LoadOptions(LoadFileFormat.VSDX);
Diagram vdxDiagram = new Diagram(dataDir + "\\" + "Podium_Switches.vsdx", loadOptions);
vdxDiagram.Save(dataDir + "Podium_Switches1.vsdx", SaveFileFormat.VSDX);


I checked again, the saved file is totally distorted. Attaching the screenshot of both original and saved visio files.

Thanks,OrigVsSaved.png (89.4 KB)


It seems like you are using the API without any valid license. Would you kindly try using a license and in case you do not have one, please consider applying for a 30-days free temporary license. Please let us know in case you face any issue.