We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Background Pattern color

Hi,

builder.CellFormat.Shading.BackgroundPatternColor = Color.Black;

using above code I have colored the table heading background color as black ,It works good in all case but when i Create a New Word Document manually and added tags in it and when trying to Generate Document with table inside i am getting below output.

Attached output screenshotSometag START.docx (14.9 KB)

Input:
{
“TagNo”: 1,
“TagName”: “$$$SomeText START{”,
“TagSeqNo”: 1,
“WriteSeqNo”: 1,
“Column1”: “!!!Sometext!!!”,
“Column2”: “!!!Sometext!!!”,
“Column3”: “!!!Sometext!!!”,
“Column4”: "!!!Sometext!!! ",

}

@NanthiniSenthil123 Unfortunately, it is not quite clear how to reproduce your issue. Could you please provide your input document and simple code that will allow us to reproduce the problem? We will check the issue and provide you more information.
I have inspected your document and noticed there is white text with white background:

<w:r>
	<w:rPr>
		<w:rFonts w:ascii="Segoe UI" w:hAnsi="Segoe UI" w:cs="Segoe UI"/>
		<w:b/>
		<w:color w:val="FFFFFF"/>
		<w:sz w:val="21"/>
		<w:szCs w:val="21"/>
		<w:shd w:val="clear" w:color="auto" w:fill="FFFFFF"/>
	</w:rPr>
	<w:t>Rates</w:t>
</w:r>

As you can see text color and background color are the same.