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

Free Support Forum - aspose.com

Change background color of paragraphs that spans over multiple pages

Hello,


We have a paragraph that countains a Textfragment that is really long. It spans over multiple pages. How do we set the backound color of all the pages that contains that textfragment?

For example, if we do the following:

var page = doc.Pages.Add();
var ppp = new TextFragment(“super long text here…”);
page.Paragraphs.Add(ppp);
page.Background = Color.AliceBlue;

only the first page that contains the TextFragment will be Blue. How to make sure that all the pages that have that textfragment will be blue? (since the text will ultimately come from a database, we don’t know its length).

Thank you

Hi Roger,


Thanks for your inquiry. I have tested the scenario noticed that Background color of TextFragment span over multiple pages effects on first page. We have logged a ticket PDFNEWNET-39748 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

Hi Roger,


Thanks for the patience. We have good news for you, your above reported issue has been resolved and its fix will be included in upcoming release i.e. Aspose.Pdf for .NET 11.1.0. However we will notify you as soon as it is published and gets available for download.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-39748) have been fixed in Aspose.Pdf for .NET 11.1.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.