1. Products
  2.   Conholdate.Total
  3.   .NET
  4.   MHTML Merger

Merge MHTML Files in C# .NET

C# .NET documents merger API to combine multiple MHTML files into a single file by joining selective number of pages or a range of specific pages from multiple source documents into a single resultant document. Merge all popular documents and image file formats including HTML, PDF, Text, OpenDocument, Microsoft Word, Excel, PowerPoint, Visio and OneNote. Using Conholdate.Total APIs, protect your merged MHTML files to ensure the confidentiality of sensitive information within. Check if uploaded MHTML documents are password-protected. For unprotected ones, set strong, unique passwords using industry best practices. Remember to update passwords for existing files and remove them when documents become public.

Download

Add Watermark to Merged MHTML Files

Join MHTML files in C# .NET and add watermarks to the resultant MHTML document in .NET (C#, VB.NET, ASP.NET & .NET Core) applications.

  • Instantiate Merger with MHTML document
  • Call Join method of Merger class instance and pass second source document (MHTML) path
  • Call Save method of Merger class instance to save merged document
  • Instantiate Watermarker with merged document as created above
  • Create the TextWatermark object & set watermark properties
  • Add watermark and save watermarked MHTML document

Download .NET MHTML Merger API

You require GroupDocs.Merger & GroupDocs.Watermark namespaces to perform single and multiple documents merging operations within PDF, Microsoft Office, HTML, OpenDocument and many other document formats. Explore other .NET APIs for Office documents as offered by Conholdate.Total.

Get the respective assembly files from the downloads or fetch the whole package from NuGet to add Conholdate.Total directly in your workspace.


Merge Word, Excel, PPTX Files to PDF

Programmatically combine multiple types of documents such as Word (DOC/DOCX), Excel (XLS/XLSX) and PowerPoint (PPT/PPTX) into a single compact PDF file in C# .NET Applications, keeping the same text, formatting and layout structure in the resultant document.

  • Instantiate Merger with input PDF document
  • Call Join method of Merger class instance and pass document paths one by one
  • Call Save method to merge all documents as one PDF file

MHTML Pages Image Representation

Combine MHTML documents and generate image representation of the merged document pages in PNG, JPG or BMP formats. You can easily preview the complete document as a whole or display some specific pages based on page numbers or page ranges.

Join MHTML and other popular document file formats on different operating systems such as Windows, Linux or macOS while using platforms such as Windows Azure, Mono and Xamarin.


What is MHTML file format?

MHTML, short for MIME HTML, is a web page archive file format used to save and archive web content for offline viewing. It is a combination of HTML code, embedded images, and other external content saved as a single file. MHTML files can be opened with web browsers, text editors, and other programs that support HTML viewing. MHTML files are commonly used to backup websites, share web page content, or email static web page content without the need for an internet connection. The ability to compress everything into a single file makes MHTML files ideal for saving and sharing web content. Additionally, MHTML files are also easier to manage than HTML files as they contain all of the necessary components for viewing in one file. MHTML files are different than HTML files as the MHTML format includes external content. It also uses MIME encoding which allows it to include binary data such as images, audio, and even video files. MHTML files can also be used to print or save web pages for offline viewing, as the file format contains all of the components for viewing. All major web browsers such as Internet Explorer, Firefox, Safari, and Chrome support MHTML files and can open them in their respective programs. Other programs such as Adobe Acrobat Reader and Apple Notes can also open MHTML files.

Learn

Popular Document Merger Options with .NET

Merge PDF Files

(Portable Document Format)

Merge WORD Files

(Word Processing Files)

Merge EXCEL Files

(Spreadsheet Files)

Merge VISIO Files

(Visio Diagram Files)

Merge IMAGE Files

(Digital Image Files)

Merge WEB Files

(Web Files)

Merge DOC Files

(Microsoft Word Binary Format)

Merge DOCX Files

(Office 2007+ Word Document)

Merge DOCM Files

(Microsoft Word 2007 Marco File)

Merge DOT Files

(Microsoft Word Template Files)

Merge DOTM Files

(Microsoft Word 2007+ Template File)

Merge DOTX Files

(Microsoft Word Template File )

Merge RTF Files

(Rich Text Format)

Merge TXT Files

(Text Document)

Merge XLS Files

(Microsoft Excel Spreadsheet (Legacy))

Merge XLSB Files

(Excel Binary Workbook)

Merge XLSM Files

(Macro-enabled Spreadsheet)

Merge XLSX Files

(Open XML Workbook)

Merge XLT Files

(Excel 97 - 2003 Template)

Merge XLTM Files

(Excel Macro-Enabled Template)

Merge XLTX Files

(Excel Template)

Merge XLAM Files

(Excel Macro-Enabled Add-In)

Merge CSV Files

(Comma Seperated Values)

Merge TSV Files

(Tab Seperated Values)

Merge PPT Files

(Microsoft PowerPoint 97-2003)

Merge PPTX Files

(Open XML presentation Format)

Merge PPS Files

(PowerPoint Slide Show)

Merge PPSX Files

(PowerPoint Slide Show)

Merge JPEG Files

(Joint Photographic Expert Group Image)

Merge BMP Files

(Bitmap Image File)

Merge PNG Files

(Portable Network Graphic)

Merge GIF Files

(Graphical Interchange Format)

Merge TIFF Files

(Tagged Image File Format)

Merge VDX Files

(Vector Design eXchange)

Merge VSDM Files

(Visio Macro-Enabled Drawing)

Merge VSDX Files

(Visio Drawing)

Merge VSSM Files

(Visio SmartShape Master)

Merge VSSX Files

(Visio Stencil File)

Merge VSTM Files

(Visio Macro-Enabled Drawing Template)

Merge VSTX Files

(Visio Drawing Template)

Merge VSX Files

(Visio Stencil XML File)

Merge VTX Files

(Anim8or 3D Model)

Merge ONE Files

(OneNote Document)

Merge HTML Files

(Hyper Text Markup Language)

Merge MHT Files

(MHTML Web Archive)

Merge MHTML Files

(Web Page Archive Format)

Merge ODP Files

(OpenDocument Presentation Format)

Merge ODS Files

(OpenDocument Spreadsheet)

Merge ODT Files

(OpenDocument Text File Format)

Merge OTP Files

(OpenDocument Standard Format)

Merge OTT Files

(OpenDocument Standard Format)

Merge EPUB Files

(Open eBook File)

Merge ERR Files

(Error Report File)

Merge PS Files

(PostScript File)

Merge TEX Files

(LaTeX Source Document)

Merge XPS Files

(XML Paper Specifications)

Merge MP3 Files

(MP3 Audio File)

Merge WAV Files

(WAVE Audio File)

Merge ZIP Files

(Zipped File)

Merge RAR Files

(WinRAR Compressed Archive)

 English