Free Support Forum -

When Visio file is saved as PDF format, the gradient and the text are shown incorrectly


( Example file can be downloaded!d85nnaJT!KgeLDI-cBPLAvS0maFZrNWwinMSmIn6Z2AYFcRH4UUA as rar format. )

A line is combined with a circle to get the “Off-center Radial Fill Effect” as described in The effect is great in Visio.

Nevertheless, when the file is loaded with Aspose.Diagram and re-saved as PDF foramt, the gradient becomes strangely incorrect, as shown in the file "BugReport_ToPDFViaAspose.pdf:

(1) the gradient is shown incorrectly as centered, instead of off-centered;
(2) the gradient looks very strange in PDF reader (Sumatra or Acrobat), with different visual disturbance in the zoom range of “50% -> 150%”;
(3) the text is wrapped

Please correct these behaviors. Many thanks !



Thanks for contacting support.

We were able to replicate the issue using Aspose.Diagram for .NET 19.1 and logged it as DIAGRAMNET-51612 in our issue tracking system for the sake of correction. We will definitely let you know as soon as the issue is resolved. Please be patient and spare us little time.

We are sorry for the inconvenience.


Thank you for your prompt reply !
Can you try to save .vsdx to .svg using both Visio and Aspose.Diagram, and compare the xml content of both .svg ? It seems that .svg saved using Aspose.Diagram contains many many paths, while the .svg saved using Visio only contains two paths. This might be helpful to diagnose the problem.



Thanks for sharing your suggestions.

We have also noticed the similar behavior in both SVG images (created by MS Visio and Aspose.Diagram). We have updated the information logged under the shared ticket ID and will definitely consider it during issue resolution. Please spare us little time.