Hi,
When I use RenderToImage() method generate the image , there is a problem images Content.
html:
Image
However, the correct display should be as follows:
Image
How solve it?
When I use RenderToImage() method generate the image , there is a problem images Content.
html:
string html = "<html><body><table><tr><td style=\"writing-mode:rl-tb;direction:rtl;text-align:right;\">מצופה : %55 אצטט / %45 אקרילי / למטה</td></tr></table><hr/><div align=\"left\" style=\"width: 380px;font-family:Clotex Universal Icon;font-size:30pt\">¶—∆ě∕</div></body></html>";code:
System.Drawing.Image image = HtmlRender.RenderToImage(html);genarete image:
var bitmap = new Bitmap(image);
bitmap.Save(@"D:\Test.png", ImageFormat.Png);
Image
However, the correct display should be as follows:
Image
How solve it?