Free Support Forum - aspose.com
How to apply table border styles using InsertHtml
Aspose.Words Product Family
stadela
June 29, 2017, 6:54am
#1
Hi,
I am not able set table border styles using insertHtml
strHtml = “
”;
builder.InsertHtml(strHtml);
awais.hafeez
June 29, 2017, 6:54am
#2
Hi Satish,
Thanks for your inquiry. Please try using the following html:
string
strHtml =
"<table border=1
style=‘width:500px;border-collapse:collapse;border-color:grey;’
"
;
Hope, this helps.
Best regards,