I am trying to split pdf file with help of ilovepdf api . code is not giving any error but also not working .
Controller
$ilovepdf = new Ilovepdf('project_public', 'secret_key_');
// Create a new task
$myTaskSplit = $ilovepdf->newTask('split');
// Add files to task for upload
$myTaskSplit->addFile(__DIR__.'/files/abc.pdf');
// Set your tool options
$myTaskSplit->setFixedRange(2);
// Execute the task
$myTaskSplit->execute();
// Download the package files
return $myTaskSplit->download();
```
I want to split pdf file and download it.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/39tNfGg
via IFTTT
Aucun commentaire:
Enregistrer un commentaire