Excel in PDF umwandeln in PHP
Contents
[
Hide
]
Aspose.Cells - Excel in PDF umwandeln
Konvertieren einer Microsoft Excel-Datei in PDF
PHP-Code
$dataDir = '';
// Create Aspose.Cells Helper Object
$ptr = new \COM('Aspose.Cells.Interop.InteropHelper');
// Opening through Path
// Creating a Workbook object and opening an Excel file using its file path
$workbook = $ptr->New("Aspose.Cells.Workbook",array($dataDir . '/Book1.xls'));
$ptr->Call($workbook,"Save",array($dataDir."/outBook1.pdf"));
print "Conversion Completed" . PHP_EOL;
Laufenden Code herunterladen
Laden Sie Excel in PDF umwandeln (Aspose.Cells) von einer der unten genannten sozialen Codierungsseiten herunter: