@Deprecated public class MhtUtility extends Object
Constructor and Description |
---|
MhtUtility()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
unpackMHT(String sourceMhtFile,
String targetFolder,
String htmlPartFilesPrefix,
com.aspose.ms.System.Text.Encoding sourceEncoding)
Deprecated.
To convert MHT to PDF please use code : 'Document doc= new Document(string filename, LoadOptions options);' with instance of MhtLoadOptions class as second parameter. MhtUtility class will be removed in version Aspose.Pdf 9.3")
This method gives opportuity to unpack MHT-file, that is set of HTML page and referenced external resources(like images, CSSes, scripts etc) |
@Deprecated public static String unpackMHT(String sourceMhtFile, String targetFolder, String htmlPartFilesPrefix, com.aspose.ms.System.Text.Encoding sourceEncoding)
This method gives opportuity to unpack MHT-file, that is set of HTML page and referenced external resources(like images, CSSes, scripts etc)
sourceMhtFile
- full path to source MHT-filetargetFolder
- absolute path to folder that will be used as target
folder for parts of unpacked MHT-filehtmlPartFilesPrefix
- this prefix will be added at beginning of file
names of files of extracted parts of HTML filesourceEncoding
- encoding of source HTML file, isually is
System.Text.Encoding.UTF8 encodingCopyright © 2016 Aspose. All Rights Reserved.