Word to HTML Conversion: Behind-Text Image Position Changed in Conversion

Hi Team,

I am converting a Word document to HTML using Aspose.Words 25.5.0. My document contains an image with the “Behind Text” wrap setting. However, in the HTML output, the image position has changed and no longer matches the source document. How can I fix this issue? I would like to resolve it without using the Fixed HTML format.

Code :

HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Html)
{
				ExportImagesAsBase64 = true,
				ExportShapesAsSvg = false,
				ExportXhtmlTransitional = true,
				Encoding = System.Text.Encoding.UTF8,
				ExportHeadersFootersMode = ExportHeadersFootersMode.None,
				ExportPageMargins = true,
				ExportPageSetup = true,
				UseHighQualityRendering = false,
				AllowEmbeddingPostScriptFonts = true,
				PrettyFormat = false,
				ExportTocPageNumbers = true,
				CssStyleSheetType = CssStyleSheetType.Inline,
				MemoryOptimization = true,
				ExportListLabels = ExportListLabels.AsInlineText,
				ImageResolution = 200
};

MemoryStream wordMs = new MemoryStream(WordBytes)
doc.Save(@"D:\Temp\MovableImage.html", options);

Attachments :
MovableImage.zip (36.6 KB)

@Alpesh.in Please note, Aspose.Words is designed to work with MS Word documents. HTML documents and MS Word documents object models are quite different and it is not always possible to provide 100% fidelity after conversion one format to another. In most cases Aspose.Words mimics MS Word behavior when work with HTML.
If you convert your document to HTML using MS Word, the result looks almost the same as Aspose.Words output.