I found a problem.
If I set the Image Size, the generate Image display normal.
Now the problem is that I don't know the height of the image.
How can I calculate the height of html?
If I set the Image Size, the generate Image display normal.
System.Drawing.Image image = HtmlRender.RenderToImage(html, new System.Drawing.Size(400, 200));
Now the problem is that I don't know the height of the image.
How can I calculate the height of html?