Wrong image position when converting certain XLSX to HTML in .NET

One of the embedded images of the attached XLSX files is displayed too far to the right.
It’s overlapping text or is moved outside of the document border.

The issue happens with GroupDocs.Viewer 21.9 using this code:

        using (var viewer = new Viewer(documentPath))
        {                
            var options = HtmlViewOptions.ForEmbeddedResources("output_viewer{0}.html");
            options.SpreadsheetOptions = SpreadsheetOptions.ForOnePagePerSheet();
            viewer.View(options);
        }

I’ve attached the XLSX files, as well as the output from the viewer for comparison:
Excel wrong image position.zip (3.4 MB)

Hi @Clemens_Pestuka

Your issue is reproduced and logged into VIEWERNET-3599 in our tracker. In case of any update, I reply here.

1 Like

@Clemens_Pestuka

GroupDocs.Viewer for .NET v21.10 that includes fix for this issue has been published. You can find the new version at

Have a nice day!

1 Like

@mikhail.evgrafov.aspose

Thanks a lot for the fix :slight_smile:
I can confirm that the problem has been resolved :+1:

1 Like

You are welcome!