Object disappeared when converting to image(pdf)

Thank you for your support.

I have converted No9.vsd to image(pdf) with Aspose Diagaram 17.11. Please find errors in No9_1.png and No9.pdf.
No9.zip (43.2 KB)
No9_1.png (4.8 KB)
No9.pdf (14.4 KB)

I have also attached No7.tiff whichi is the image that MS Visio outputs as a reference.
No9.tif.zip (11.4 KB)

This is the sample code

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AsposeDiagramConsoleTest
{
class Program
{
static void Main(string[] args)
{
// Instantiate the License class
Aspose.Diagram.License license = new Aspose.Diagram.License();
license.SetLicense(“Aspose.Total.lic”);

        var diagram = new Aspose.Diagram.Diagram("No9.vsd");

        // Convert to PDF
        var saveOption = new Aspose.Diagram.Saving.PdfSaveOptions();
        // SaveForegroundPagesOnly
        saveOption.SaveForegroundPagesOnly = true;
        diagram.Save("No9.pdf", saveOption);

        
        // Convert to Image
        var options = new Aspose.Diagram.Saving.ImageSaveOptions(Aspose.Diagram.SaveFileFormat.PNG);
        options.SameAsPdfConversionArea = true;
        options.SmoothingMode = Aspose.Diagram.Saving.SmoothingMode.AntiAlias;

        int imgPageNum = 1;
        for (int i = 1; i <= diagram.Pages.Count; i++)
        {
            // except background page
            if (diagram.Pages[i - 1].Background == Aspose.Diagram.BOOL.True)
                continue;

            // Convert contains visible layer
            foreach (Aspose.Diagram.Layer layer in diagram.Pages[i - 1].PageSheet.Layers)
            {
                if (layer.Visible.Value == Aspose.Diagram.BOOL.True)
                    layer.Print.Value = Aspose.Diagram.BOOL.True;
            }

            options.PageIndex = i - 1;
            diagram.Save(string.Format("No9_{0}.png", imgPageNum), options);

            imgPageNum++;
        }
    }
}

}

@PFU.DSOL2,

We managed to replicate the problem of missing OLE embedded object in our environment. We have logged tickets in our bug tracking system as follows:

DIAGRAMNET-51412: VSD to PDF - an OLE object is missing
DIAGRAMNET-51413: VSD to image - an OLE object is missing

We have linked your post to these tickets and will keep you informed regarding any available updates.

Thank you for your support.
Do you have any updates about these incidents? I am happy if I could get when the incidents will be fixed,

@PFU.DSOL2,

The linked ticket IDs DIAGRAMNET-51412 and DIAGRAMNET-51413 are pending for the analysis and not resolved yet. Our product team will investigate as per their development schedules. We will let you know once a significant progress has been made in this regard.

@PFU.DSOL2,

The linked ticket IDs DIAGRAMNET-51412 and DIAGRAMNET-51413 have been fixed and will be included in the next version 18.5 of Aspose.Diagram for .NET API. We will notify you once the next version is published.

@PFU.DSOL2,

The linked ticket IDs DIAGRAMNET-51412 and DIAGRAMNET-51413 have been fixed. Please download and try the latest hotfix version 18.4.1 of Aspose.Diagram for .NET API.

Hi,

Thanks for your support.
I got Aspose.Diagram 18.4.1 and confirmed that these issues were fixed.
When Aspose.Diagram 18.5 is released, I’ll test again.

Regards,

@PFU.DSOL2,

Thank you for the confirmation. It is nice to hear from you that the problem has been resolved. We will notify you once the next version 18.5 of Aspose.Diagram for .NET API is published.

The issues you have found earlier (filed as DIAGRAMNET-51412,DIAGRAMNET-51413) have been fixed in Aspose.Diagram for .NET 18.5. This message was posted using BugNotificationTool from Downloads module by imran.rafique