ComparerContext.Author

ComparerContext Author property. The author to be assigned to revisions created during document comparison.

ComparerContext.Author property

The author to be assigned to revisions created during document comparison.

public string Author { get; set; }

Examples

Demonstrates how to compare two documents using the Fluent API with customized CompareOptions.

ComparerContext context = new ComparerContext();
context.Author = "Wordize";
context.DateTime = DateTime.Now;
context.CompareOptions.IgnoreFormatting = true;

Comparer.Create(context)
    .From(MyDir + "CompareV1.docx")
    .From(MyDir + "CompareV2.docx")
    .To(ArtifactsDir + "CompareFluentAPI.docx")
    .Execute();

See Also