Bitmap m_Bitmap = new Bitmap(400, 600); PointF point = new PointF(0, 0); SizeF maxSize = new System.Drawing.SizeF(500, 500); HtmlRenderer.HtmlRender.Render(Graphics.FromImage(m_Bitmap), "<html><head></head><body><p>This is a sh*tty html code</p><p>This is another html line</p></body>", point, maxSize); m_Bitmap.Save(@"C:\Test.bmp");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)