GroupDocs.Comparison for .NET is a native .NET API for comparing multiple images and documents of the same format. It helps you detect the differences within paragraphs, words, characters, shapes, even the text styles of the compared documents, merge the changes and export to a final document. It supports comparing and merging PDF, Word documents, Excel spreadsheets, PowerPoint presentations, Visio diagrams, Outlook emails, HTML, drawings and image file formats without using any external library.
GroupDocs.Comparison makes it easy for .NET developers to compare & merge multiple MHTML files in their applications by implementing a few easy steps.
GroupDocs.Comparison for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Compare multiple documents from local disk
using (Comparer comparer = new Comparer("source.mhtml"))
{
comparer.Add("target1.mhtml");
comparer.Add("target2.mhtml");
comparer.Add("target3.mhtml");
comparer.Compare("result.mhtml"); // Create result file with the specified name
}
// Compare multiple documents from stream
using (Comparer comparer = new Comparer(File.OpenRead("source.mhtml")))
{
comparer.Add(File.OpenRead("target1.mhtml"));
comparer.Add(File.OpenRead("target2.mhtml"));
comparer.Add(File.OpenRead("target3.mhtml"));
comparer.Compare(File.Create("result.mhtml")); // Create result file with the specified name
}
Detect differences between MHTML files right now by visiting GroupDocs.Comparison Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. These resources include anything linked to the webpage such as images, applets, animations, audio files and so on. MHTML files can be opened in a variety of applications such as Internet Explorer and Microsoft Word. Microsoft Windows uses MHTML file format for recording scenarios of problems observed during the usage of any application on Windows that raises issues. The MHTML file format encodes the page contents similar to specifications defined in message/rfc822 which is plain text email related specifications. The actual specifications of the format are as detailed by RFC 2557.
Read More About MHTML File FormatMulti format documents and images comparison API for .NET. Analyse the differences between documents of the same format without using any external tool.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Microsoft Word Macro-Enabled Template)
(Word Open XML Document Template)
(Rich Text File Format)
(Plain Text File Format)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel macro-enabled template)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Spreadsheet File)
(Comma Separated Values File)
(PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint template)
(Microsoft PowerPoint Open XML Template)
(Open Document Spreadsheet)
(OpenDocument Presentation File Format)
(Origin Graph Template)
(Open Document Text)
(Open Document Template)
(Microsoft Visio 2003-2010 XML Drawing)
(JPEG Image)
(Portable Network Graphic)
(Graphical Interchange Format File)
(Bitmap File Format)
(Hyper Text Markup Language)
(Mime HTML)
(MIME Encapsulation of Aggregate HTML)
(Microsoft Outlook E-mail Message)
(E-mail Message)
(Apple Mail E-mail File)
(Microsoft OneNote)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2003-2010 Template)
(Microsoft Visio 2003-2010 XML Drawing)
(CSharp Language)
(Java Language)
(C++ Language)
(JavaScript Language)
(Python Language)
(Ruby Language)