Hello,
I am trying to convert HTML to image using HtmlRenderer which contain 2 image in which one image is on the top of another I tried following code
Bitmap m_Bitmap = new Bitmap(700, 900);
PointF point = new PointF(0, 0);
SizeF maxSize = new System.Drawing.SizeF(800, 1000);
string html = "<html><head></head><body> Test<img style=\"position: absolute; left: 199px; top: 293px;\" src=\"file:///C:/Users/crakhuc/Desktop/Small.jpg\">
</body></html>";
HtmlRenderer.HtmlRender.Render(Graphics.FromImage(m_Bitmap),html,point, maxSize);
m_Bitmap.Save(@"C:\Test.png", ImageFormat.Png);
Problem with this is that second image dont come on top of first it comes at bottom of first image