# Customize changes styles Following this guide you will learn how to customize document comparison report and modify appearance of detected changes when use GroupDocs.Comparison for .NET. [GroupDocs.Comparison](https://products.groupdocs.com/comparison/net) provides the compare options collection to set up the appropriate comparison speed and quality. To compare two documents with custom change style settings, follow these steps: 1. Instantiate the [Comparer](https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer) object. Specify the source document path or stream. 2. Call the [Add](https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/methods/add/index) method. Specify the target document path or stream. 3. Instantiate the [CompareOptions](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions) object. Specify the appropriate parameters. 4. Call the [Comparer](https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer) method. Specify the [CompareOptions](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions) object. The following code snippets show how to compare documents with specific options: ## Compare documents from local disk with custom change styles {{< tabs "example1">}} {{< tab "C#" >}} ```csharp using GroupDocs.Comparison; using GroupDocs.Comparison.Options; // ... using (Comparer comparer = new Comparer("source.docx")) { comparer.Add("target.docx"); CompareOptions compareOptions = new CompareOptions() { InsertedItemStyle = new StyleSettings() { HighlightColor = System.Drawing.Color.Red, FontColor = System.Drawing.Color.Green, IsUnderline = true, IsBold = true, IsStrikethrough = true, IsItalic = true }, DeletedItemStyle = new StyleSettings() { HighlightColor = System.Drawing.Color.Azure, FontColor = System.Drawing.Color.Brown, IsUnderline = true, IsBold = true, IsStrikethrough = true, IsItalic = true }, ChangedItemStyle = new StyleSettings() { HighlightColor = System.Drawing.Color.Crimson, FontColor = System.Drawing.Color.Firebrick, IsUnderline = true, IsBold = true, IsStrikethrough = true, IsItalic = true } }; comparer.Compare("result.docx", compareOptions); } ``` {{< /tab >}} {{< /tabs >}} The result is as follows: ![](https://docs.groupdocs.com/comparison/net/images/customize-changes-styles.png) ## Compare documents from stream with custom change styles {{< tabs "example2">}} {{< tab "C#" >}} ```csharp using GroupDocs.Comparison; using GroupDocs.Comparison.Options; using System.IO; // ... using (Comparer comparer = new Comparer(File.OpenRead("source.docx"))) { comparer.Add(File.OpenRead("target.docx")); CompareOptions compareOptions = new CompareOptions() { InsertedItemStyle = new StyleSettings() { HighlightColor = System.Drawing.Color.Red, FontColor = System.Drawing.Color.Green, IsUnderline = true, IsBold = true, IsStrikethrough = true, IsItalic = true }, DeletedItemStyle = new StyleSettings() { HighlightColor = System.Drawing.Color.Azure, FontColor = System.Drawing.Color.Brown, IsUnderline = true, IsBold = true, IsStrikethrough = true, IsItalic = true }, ChangedItemStyle = new StyleSettings() { HighlightColor = System.Drawing.Color.Crimson, FontColor = System.Drawing.Color.Firebrick, IsUnderline = true, IsBold = true, IsStrikethrough = true, IsItalic = true } }; comparer.Compare(File.Create("result.docx"), compareOptions); } ``` {{< /tab >}} {{< /tabs >}}