TexFragment BackgroundColor is null

Hello,

I am trying to read the background color of a text fragment in pdf file but it is always null. I am able to see the Foreground color property.

Property : TextFragment.TextFragmentState.BackgroundColor

Please advise.

@nisg55,
We managed to replicate the said issue in our environment. We have logged an enhancement under the ticket ID PDFNET-43227 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.

We would recommend you to share your input PDF and code to cover the actual scenario as well.

Best Regards,
Imran Rafique

Hi @imran.rafique

Any updates on this issue?

@nisg55,

Thanks for your patience.

As we recently have noticed the problem, so it is pending for review and is not yet resolved. However, the product team will surely start investigating the issue as per their schedule and as soon as we have some definite updates regarding its resolution, we will let you know. Please be patient and spare us little time.

The issues you have found earlier (filed as PDFNET-43227) have been fixed in Aspose.PDF for .NET 21.1.