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.