Aspos.Diagram export visio file Problem


#1

Aspose.Diagram.dll Problem Summary

Visio Version:visio2016

VisioVersion:16.0.4266.1003

Aspose.Diagram.dllVersion:18.10 (Version 19.5 also exists this problem)

We have encountered the following problem, during the process of exporting visio file to png or jpg file:

The calling code is as follows:

Diagram diagram = new Diagram (tb_path. Text . ToString ());

ImageSaveOptions options = new ImageSaveOptions ( SaveFileFormat . JPEG );

for (int i = 0; i < diagram. Pages . Count ; i++)

{

options. PageIndex = i;

diagram. Save (i + “.jpg”, options);

}

The problems are shown in the two images, more details are in the attachment files.Aspos.DiagramProblem.zip (467.8 KB)


#2

@daixiaohua

We have logged an issue as DIAGRAMNET-51657 in our issue tracking system for the sake of correction. We will further investigate the issue in details and keep you posted with the status of its rectification. Please spare us little time.

We are sorry for the inconvenience.


#3

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