Not able to use ImageType OfficeCompatibleEmf or Emf with ImageOrPrintOptions for Excel rendering

After updating to the latest version from 21.11.0

The following code throws this exception: “Aspose.Cells.CellsException: ‘Metafile image is not supported’”

var options = new ImageOrPrintOptions
{
OnePagePerSheet = true,
AllColumnsInOnePagePerSheet = true,
ImageType = ImageType.OfficeCompatibleEmf
};

After doing some testing the last version of Apose.Cells where this works is 22.9.0, using 22.10.0 or later throws the exception.

Environment is .NET7

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

  Issue ID(s): CELLSNET-52623

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@RadAway
Please check the doc How to Run Aspose.Cells for .Net6|Documentation
If you are working on Windows, please use net7.0-windows or net6.0-windows in installation directory.

I’ve set all the projects in my solution to target net7.0-windows as per the instructions in the link you provided, re-added the Aspose.Cells dependency. However, the Skia dll still gets copied to the build folder and I am still getting the same error.

@RadAway
Could you post a template file here? We will check it ASAP.