Free Support Forum -

How to know format cell (background color)


I need to know background colour in specific cell.

How to do this?


Best regards,


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Please try using the following code:

Document doc = new Document("C:\\Temp\\in.doc");

foreach (Cell cell in doc.GetChildNodes(NodeType.Cell, true))




Best regards,


This code don’t show the background color.

The result is "0"

And I attach my document.

Best regards,


Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

Best regards,

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

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