Hello,
I'm trying to resize the image from HTML to word document using spire.doc. Please find below the HTML, .net code snippet
HTML:
<p>
<img class="image_resized" style="width:17.04%;" src="317-3172063_transparent-background-png-online-online-business-logo-png.png"> <span style="color:#000000;font-family:'Times New Roman', Times, serif;font-size:18px;"><strong> Test Report</strong></span>
</p>
.NET:
document.HtmlExportOptions.ImageEmbedded = true;
document.HtmlExportOptions.CssStyleSheetType = CssStyleSheetType.Internal;
But the image is not correctly resized in word document, in pdf it shows correctly.
Did I miss anything here? Please suggest!
Thanks in advance!