Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
<?php
echo "<h2>Calling Aspose.PDF for .NET from PHP using COM Interoperatibility</h2>";
echo "<h3>PDF to Excel Conversion</h3>";
// Set license
$lic = new COM("Aspose.Pdf.License");
$lic->SetLicense("Aspose.Total.lic");
// Open PDF document
$input = "HelloWorld.pdf";
$helper = new COM("Aspose.Pdf.ComHelper");
$pdf = $helper->OpenFile($input);
// Save PDF document to desired file format by passing SaveFormat enum value for the format in this case we pass 9 for excel.
$output = "test_php.xls";
$pdf->Save_4($output, 9);
?>
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.