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

Free Support Forum - aspose.com

Cell loses Background if text in TextFragment is manipulated


find attached 2 screenshots. The one from word shows that the BG of the cell is set to gray. After convertig the file to PDF everything is fine. But after I remove the Placeholder “|____|” by “textFragment.Text = “”;” in the PDF the BG of the cell disappears. There is a small gray line inside the cell where the removed text would start, but this is not the behavior I expected.

ProblemTableBGAdobe.PNG (3.9 KB)
ProblemTableBGWord.PNG (1008 Bytes)


Could you please share the sample input file for our reference along with the sample code snippet that you are using? We will test the scenario in our environment and address it accordingly.