I am putting some text, around 1000 chars., into a Run using Builder.InsertHTML (see below).
See page 21-22 of the attached PDF to see how the cell gets split and the text is lost, when saved as PDF. See the .Doc for the full text.
The code:
run = New Run(cell.Document)
cell.Paragraphs(0).AppendChild(run)
run = cell.Paragraphs(0).Runs(0)
'run.Font.Size = 12
run.Font.Bold = True
s = s.Replace("No Goal Area Selected - ", “”)
run.Text = “”
builder.MoveTo(cell.Paragraphs(0).Runs(0))
builder.InsertHtml(s)
Thanks.
Hi Ralph,
Thanks for your inquiry. After an initial test with Aspose.Words 15.7.0, I was unable to reproduce this issue on my side (please see attached 15.7.0.pdf). I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.
Best regards,