We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does HTMLUI supports MHTML files? How do I load them in the HTMLUI control?

Platform: WinForms |
Control: HTMLUIControl |
Published Date: April 30, 2011 |
Last Revised Date: July 10, 2014

 

Yes. HTMLUI supports MHTML documents from the version 4.1.

MHTML enables the user to send and receive Web pages and other HTML documents using e-mail programs. MHTML enables the user to embed images directly into the body of the e-mail messages rather than attaching them to the message.

MHTML uses MIME which provide facilities to allow multiple objects in a single Internet Email message, to represent the formatted multi-font text messages, to represent the non-textual material such as images, etc.

HTMLUI supports the usage of MHTML files by supporting MIME. The HTMLUI control allows the user to load the MHTML files from the user's drive with the help of the LoadHTML() method.

C#

//HTMLUI supports loading MHTML from file. Other overloads are not supported.

this.htmluiControl.LoadHTML(@"C:\MyProjects\LoadMHT\mhtFile.mht");

VB

'HTMLUI supports loading MHTML from file. Other overloads are not supported.

Me.htmluiControl.LoadHTML("C:\MyProjects\LoadMHT\mhtFile.mht")

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon