Konvertera till MHTML-filer i PHP

Aspose.Cells - Konvertering till MHTML filer

För att konvertera kalkylblad till MHTML-fil med Aspose.Cells for Java i PHP, anropa kalkylblad_till_mhtml()-metoden för konverteringsmodulen.

PHP-kod

 $sveFormat = new SaveFormat();

//Specify the file path

$filePath = $dataDir . "Book1.xlsx";

//Specify the HTML saving options

$sv = new HtmlSaveOptions($sveFormat->M_HTML);

//Instantiate a workbook and open the template XLSX file

$wb = new Workbook($filePath);

//Save the MHT file

$wb->save($filePath . ".out.mht", $sv);

Ladda ner Running Code

Ladda ner**Konvertera till MHTML-filer (Aspose.Cells)**från någon av nedan nämnda webbplatser för social kodning: