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

Free Support Forum - aspose.com

Document Saved as DOCX -- Can't Remove Highlight from paragraph

Hello,

I am using the latest Aspose.Words release 10.5.0. I took an existing Word document with highlighted text and saved it using DocumentObject.Save(MemoryStreamObject, Aspose.Words.SaveFormat.Docx) and DocumentObject.Save("FilePath.docx",Aspose.Words.SaveFormat.Docx).

Both ways gave me the same result. If I open the saved file; select the highlighted text and choose "No Color" from the Highlighter Dropdown in Word; Nothing happens leaving the text Yellow. If I choose another color like Red or Green, the color of the highlight changes.

I have attached the before and after documents.

Thanks,

Bryan

Hi

Thanks for your request. I cannot reproduce the problem on my side. I used the latest version of Aspose.Words for testing. You can download the latest version from here:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/category1188.aspx

Also, I noticed that “CanNotRemoveHighlight.docx” document was not created with Aspose.Words or was post-processed by other tool. Do you perform some post processing of your documents?

Best regards,