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 HTM 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.htm"))
{
comparer.Add("target1.htm");
comparer.Add("target2.htm");
comparer.Add("target3.htm");
comparer.Compare("result.htm"); // Create result file with the specified name
}
// Compare multiple documents from stream
using (Comparer comparer = new Comparer(File.OpenRead("source.htm")))
{
comparer.Add(File.OpenRead("target1.htm"));
comparer.Add(File.OpenRead("target2.htm"));
comparer.Add(File.OpenRead("target3.htm"));
comparer.Compare(File.Create("result.htm")); // Create result file with the specified name
}
Detect differences between HTM 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 HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers such as Google Chrome, Internet Explorer, Firefox and a number of others. It defines the markups for creating static pages to be published on World Wide Web (WWW) for access by others. These markups tell the browsers how to display a web page’s contents. Such pages can contain plain text, images, hyperlinks to other pages, videos and other media information. When a web page is published, you can have a look at the markup code behind it by viewing its page source. Modern browsers allow to inspect each section of a web page where each sub-division or markup element in the HTM source is elaborated.
Read More About HTM 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)