.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Mht Class Summary

Mht::UnpackMHT

Unpacks the contents of a MHT file. The destination directory is specified by UnpackDirectory. The name of the HTML file created is specified by HtmlFilename, and supporting files (images, javascripts, etc.) are created in PartsSubDir, which is automatically created if it does not already exist.

  Declarations  
    [Visual Basic]
Public Function UnpackMHT(ByVal String MhtFilename , ByVal String UnpackDirectory , ByVal String HtmlFilename , ByVal String PartsSubDir) As Boolean

[C#]
public bool UnpackMHT(string MhtFilename , string UnpackDirectory , string HtmlFilename , string PartsSubDir);

[C++]
public bool UnpackMHT(String *MhtFilename , String *UnpackDirectory , String *HtmlFilename , String *PartsSubDir);

[JScript]
public function UnpackMHT(String MhtFilename , String UnpackDirectory , String HtmlFilename , String PartsSubDir) : Boolean
 
  Parameters  
   
MhtFilename
The MHT file to be unpacked.
UnpackDirectory
The directory where the HTML file will be created.
HtmlFilename
The name of the HTML file to create.
PartsSubDir
The directory where images, style sheets, and other parts are saved.
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.