Table background color is lost after MHTML to PDF conversion using .NET

Hi,

I have a mhtml document which has a table with background color “#365F91” . After loading the document using aspose I see the background color is lost,

Document document = new Document(strMHTFile);
NodeCollection shapes = document.getChildNodes(NodeType.TABLE, true);

for(Object obj : shapes)
{
Table table = (Table) obj;
Color c = table.getFirstRow().getFirstCell().getCellFormat().getShading().getBackgroundPatternColor();

table.autoFit(AutoFitBehavior.AUTO_FIT_TO_WINDOW);
}

Here the Color c is set to ‘0’.

Attaching the mhtml and the pdf it is converted to. Please let me know if anything has to be changed.



@Shyama

Thanks for your inquiry. While using the latest version of Aspose.Words i.e. v11.5.0, I have managed to reproduce this issue on my side. I have logged this issue in our bug tracking system as WORDSNET-6601 . Your request has also been linked to this issue and you will be notified as soon as it is resolved.

Sorry for the inconvenience

Hi Shyama,

I have verified the status of this issue (WORDSNET-6601) from our issue tracking system and like to share with you that this issue has been resolved and will be available in next release of Aspose.Words. The next release will be available at the end of this month (August).

The issues you have found earlier (filed as WORDSNET-6601) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.