1. Go to this page and download the library: Download aspose/slides library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
aspose / slides example snippets
re_once("aspose.slides.php");
use aspose\slides\Presentation;
use aspose\slides\ShapeType;
use aspose\slides\SaveFormat;
$presentation = new Presentation();
$slide = $presentation->getSlides()->get_Item(0);
$slide->getShapes()->addAutoShape(ShapeType::Line, 50, 150, 300, 0);
$presentation->save("template.pptx", SaveFormat::Pptx);
re_once("aspose.slides.php");
use aspose\slides\Presentation;
use aspose\slides\SaveFormat;
$prest = new Presentation("template.pptx");
$prest->save("output.pdf", SaveFormat::Pdf);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.