Add 1D & 2D Barcode images to MHTML file in C#, ASP.NET, VB.NET, WPF, WinForms & .NET Core applications. Programmatically integrate 65+ popular barcode symbologies including QR Code, PDF 417, GS1 DataBar, Data Matrix, ISBN, MSI, Postal, UPCA, Aztec etc in your documents with the capabilities to control the barcode size and formatting settings by adding a few line of code.
DownloadConholdate.Total for .NET makes it easy for .NET developers to generate a customized barcode image based on provided text, and dynamically add it to the MHTML document by implementing a few easy steps.
The following code example requires Aspose.PDF & Aspose.BarCode namespaces. Get the respective files from the downloads section or fetch the whole package from NuGet directly into your workspace.
Insert barcodes to a MHTML document on different operating systems such as Windows, Linux or macOS while using platforms such as Windows Azure, Mono and Xamarin.
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(Portable Document Format)
(Word Processing Files)
(Spreadsheet Files)
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word 2007+ Template File)
(Microsoft Word Template File )
(Rich Text Format)
(Text Document)
(Bitmap Image File)
(Enhanced Metafile Format)
(Graphical Interchange Format)
(Joint Photographic Expert Group Image)
(Portable Network Graphic)
(Tagged Image File Format)
(Open eBook File)
(Web Files)
(Hyper Text Markup Language)
(Web Page Archive Format)
(Mobipocket eBook Format)
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(Scalar Vector Graphics)
(Microsoft Excel Spreadsheet (Legacy))
(Excel Binary Workbook)
(Macro-enabled Spreadsheet)
(Open XML Workbook)
(Excel 97 - 2003 Template)
(Excel Macro-Enabled Template)
(Excel Template)
(Comma Seperated Values)
(Data Interchange Format)
(OpenDocument Spreadsheet)
(Tab Seperated Values)
(Computer Graphics Metafile)
(Printer Command Language Document)
(LaTeX Source Document)