Removed Image not getting underlined while comparing

Hey,
I am trying to compare two documents with the following options,

 Aspose.Words.Comparing.CompareOptions compareOptions = new Aspose.Words.Comparing.CompareOptions
 {
     IgnoreFormatting = true,
     IgnoreCaseChanges = false,
     IgnoreTables = false,
     IgnoreFields = false,
     IgnoreFootnotes = false,
     IgnoreComments = false,
     IgnoreTextboxes = false,
     IgnoreHeadersAndFooters = false,
     Granularity = Granularity.CharLevel,
     CompareMoves = true
 };

 document1.Compare(document2, "Comparison", DateTime.Now, compareOptions);

And

HtmlFixedSaveOptions opt = new HtmlFixedSaveOptions();
opt.PrettyFormat = true;
opt.ExportEmbeddedCss = true;
opt.ExportEmbeddedFonts = true;
opt.ExportEmbeddedImages = true;
opt.ExportEmbeddedSvg = true;
opt.ShowPageBorder = false;

These are my export to html option ( i am saving the compared document as an XML document)

memoryStream.Position = 0;
document1.Save(memoryStream, opt);
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(memoryStream);

The Output:

The problem:
I am unable to get a strikethrough or underline on the deleted image(sunflower) in the compared XML document but the same shows up in the word document

@yojat
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27305

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thank You! @alexey.noskov

1 Like