Free Support Forum - aspose.com

Table bgcolor?

aim trying to insert this line of HTML into word document using

builder.MoveToMergeField(MailMergFieldNames)

builder.InsertHtml(MailMergFieldValues)

the html line is :

My text

but the result that i had a table with no background color and with borders ????????????????

can this be true

Please help

thanx

You probably meant

Some text

I have tested it with the following code:

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

builder.InsertHtml("

Some text
");

string filename = Application.StartupPath + @"\testHtml Out.doc";

doc.Save(filename);

// View resulting document in MS Word

System.Diagnostics.Process.Start(filename);

and it worked as expected.