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

Free Support Forum - aspose.com

Incorrect Gradient Direction Shape

When saving a Visio file to PDF using Aspose Diagrams 19.2, the direction of the gradient on many shapes is reversed.

For example, in the attached sample file and PDF output, the gradient on the triangle shapes on page 2 is incorrect. It should be white at the top to red at the bottom but in the PDF the gradient goes in the other direction.

This is only one sample file with this issue, I have many others that show this behaviour with different shapes with gradients. I’m assuming they are all related to the same problem.

See the file ActivDir.vsd and the resulting PDF, 001_ActvDir.pdf, here:

IncorrectGradientDirection.zip (222.1 KB)


Thanks for contacting support.

We were able to replicate the issue in our environment and for the sake of correction, we have logged it as DIAGRAMNET-51616 in our issue tracking system. We will further investigate the issue in details and keep you posted with its resolution status. Please spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-51616) have been fixed in Aspose.Diagram for .NET 19.4.