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: - Convert Visio Online Free
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;
document.Save(os,o);
We would be very grateful for any help.
Thanks