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

Free Support Forum - aspose.com

When saving as SVG, the background image does not fit correctly

When the attached Visio file is saved as SVG, the following problem occurs. Please see the attached SVG file as an example.

The background image does not fit across the whole page.

Regards,
Andrew

Learning and dev.zip (265.3 KB)

@andrew.ridgeley,
We have tested your VSDM drawing with the latest version 17.7 of Aspose.Diagram for .NET API and unable to replicate the problem of incorrect background image rendering:

[C#]

Diagram diagram = new Diagram(@"C:\Diagram\test2174\Learning and Development.vsdm");
diagram.Save(@"C:\Diagram\test2174\Learning and Development_17.7.svg", SaveFileFormat.SVG);

This is the output SVG: Learning and Development_17.7.zip (328.5 KB)

Best Regards,
Imran Rafique

Hello Imran, we had the issue on 17.7.1.

@andrew.ridgeley,
We managed to replicate the problem of incorrect background image rendering. It has been logged under the ticket ID DIAGRAMNET-51335 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience.

Best Regards,
Imran Rafique

@andrew.ridgeley,
The ticket ID DIAGRAMNET-51335 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.8 of Aspose.Diagram for .NET API. We will notify you once the next version is published.

Best Regards,
Imran Rafique

@andrew.ridgeley,
The ticket ID DIAGRAMNET-51335 has been fixed. Please download and try the new version 17.8 of Aspose.Diagram for .NET API.

Best Regards,
Imran Rafique

I can confirm that this issue is now fixed.

Regards,
Andrew