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

Free Support Forum - aspose.com

Compare Word Documents & Generate Track Changes (Revisions) using C# .NET | Display Author's Name along with Changes

Hi,

We need to display author name along with the change in the document compare result. Please help. Following is the code sample, the MemoryStream object contains the result, but I can’t have author name in it.

Document doc1 = new Document(filestreams[0], options);
Document doc2 = new Document(filestreams[1], options);
doc1.Compare(doc2, “name”, DateTime.Now);
using (MemoryStream ms = new MemoryStream())
{
doc1.Save(ms, new ImageSaveOptions(SaveFormat.Jpeg));
ms.Flush();
ms.Seek(0, SeekOrigin.Begin);
}

@richardZhang,

To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your simplified input documents
  • Aspose.Words 18.12 generated output document showing the undesired behavior
  • Your expected document showing the correct output. You can create expected document by using MS Word.
  • Please also create a standalone simple console application (source code without compilation errors) that helps us to reproduce your current problem on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size.
  • Any additional steps that you think might be required to reproduce this issue on our end.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

A post was split to a new topic: Compare Word Documents & Show User Name and Comparison Date