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

Free Support Forum - aspose.com

Background getting misplaced when converting .VSDX file to .PDF

Hello Support Team,

We are using Aspose.Diagram latest stable release that is 22.1.0. We are using Aspose to convert the .vsdx file to pdf. We are facing the problem that background in the visio file page 1 is getting misplaced in the generated PDF(Refer image below).

Background_Misplaced_PDF.JPG (20.0 KB)

Refer image below of correct visio format(.vsdx file):
Correct_Format_VSDX.JPG (68.0 KB)

This issue is also occurring when we are converting .vsdx file to pdf using Aspose online pdf converter.
Link: - https://products.aspose.app/diagram/en/conversion

Attaching visio .vsdx file for reference.Visio_File.7z (112.4 KB)

Refer .NET code below used to generate pdf:
Aspose.Diagram.Diagram document = new Aspose.Diagram.Diagram(fs, LoadFileFormat.VSDX);
Aspose.Diagram.Saving.PdfSaveOptions o = new Aspose.Diagram.Saving.PdfSaveOptions();
o.SaveFormat = SaveFileFormat.PDF;
o.SaveForegroundPagesOnly = true;

We would be very grateful for any help.


We have logged an issue as DIAGRAMNET-52637 in our issue tracking system for further investigation against this case. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-52637) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou