Convertir PDF a libro de Excel en PHP
Contents
[
Hide
]
Aspose.PDF - convertir PDF a libro de Excel
Para convertir un documento PDF a libro de Excel usando Aspose.PDF Java for PHP, simplemente invoque el módulo PdfToExcel.
Código PHP
# Open the target document
$pdf = new Document($dataDir . 'input1.pdf');
# Instantiate ExcelSave Option object
$excelsave = new ExcelSaveOptions();
# Save the output to XLS format
$pdf->save($dataDir . "Converted_Excel.xls", $excelsave);
print "Document has been converted successfully" . PHP_EOL;
Descargar Código en Ejecución
Descargar Convertir PDF a Libro de Excel (Aspose.PDF) desde cualquier sitio de codificación social mencionado a continuación: