Shape.ToImage throws an exception for some shapes


#1

Hi,
Shape.ToImage throws “Object reference not set to an instance of an object” exception for some shapes in the attached diagram although Diagram.Save can successfully convert the diagram to an image.
ToImage.zip (36.4 KB)


#2

@dmbk

We were able to replicate the issue in our environment while using Aspose.Diagram for .NET 19.9 and have logged it as DIAGRAMNET-51716 in our issue tracking system for the sake of correction. We will further look into it and keep you posted with the status of its resolution. Please spare us little time.

We are sorry for the inconvenience.


#3

@dmbk

Would you please download and try hotfix (Aspose.Diagram for .NET 19.9) which includes fix against DIAGRAMNET-51716 . In case you still face any issue, please feel free to let us know.