colspan cause RenderToImage() method generate the empty image result
(table with one tr(colspan=5), normal image result after rename or remove colspan :
html
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: none;"><tbody><tr><td colspan="5" valign="top" style="width: 424.05pt; border: 1pt solid windowtext; padding: 0cm 5.4pt;"><p class="MsoBodyText" style="margin-bottom:0cm;margin-bottom: .0001pt;text-align:center;"><strong><span style="font-size: 14pt;">Some System<span lang="EN-US">-</span>Changes<span lang="EN-US"></span></span></strong></p><p class="MsoBodyText" style="margin-bottom:0cm;margin-bottom: .0001pt;text-align:center;"><strong>CIS<span lang="EN-US">_</span>Manual</strong><strong><span lang="EN-US" style="font-size: 14pt;"></span></strong></p><p class="MsoBodyText" style="margin-bottom:0cm;margin-bottom: .0001pt;text-align:center;"><strong><span style="font-size: 14pt;">Changes<span lang="EN-US"></span></span></strong></p></td></tr></table> C#
(table with one tr(colspan=5), normal image result after rename or remove colspan :
html
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: none;"><tbody><tr><td colspan="5" valign="top" style="width: 424.05pt; border: 1pt solid windowtext; padding: 0cm 5.4pt;"><p class="MsoBodyText" style="margin-bottom:0cm;margin-bottom: .0001pt;text-align:center;"><strong><span style="font-size: 14pt;">Some System<span lang="EN-US">-</span>Changes<span lang="EN-US"></span></span></strong></p><p class="MsoBodyText" style="margin-bottom:0cm;margin-bottom: .0001pt;text-align:center;"><strong>CIS<span lang="EN-US">_</span>Manual</strong><strong><span lang="EN-US" style="font-size: 14pt;"></span></strong></p><p class="MsoBodyText" style="margin-bottom:0cm;margin-bottom: .0001pt;text-align:center;"><strong><span style="font-size: 14pt;">Changes<span lang="EN-US"></span></span></strong></p></td></tr></table> C#
System.Drawing.Image image = TheArtOfDev.HtmlRenderer.WinForms.HtmlRender.RenderToImage(
html,
new System.Drawing.Size(600, 600),
System.Drawing.Color.White);
image.Save(@"C:\Temp\_image_" + DateTime.Now.ToString("yyyyMMdd-hhmmss") + ".png", System.Drawing.Imaging.ImageFormat.Png);
-- end --