![]() ![]() > setDescription( 'PHPPresentation logo') $shape-> setName( 'PHPPresentation logo') Create a shape (drawing) $shape = $currentSlide-> createDrawingShape() Create slide $currentSlide = $objPHPPowerPoint-> getActiveSlide() $objPHPPowerPoint = new PhpPresentation() Use PhpOffice\ PhpPresentation\ Style\ Alignment Use PhpOffice\ PhpPresentation\ Style\ Color Use PhpOffice\ PhpPresentation\ IOFactory Use PhpOffice\ PhpPresentation\ PhpPresentation with Composer require_once 'vendor/autoload.php' \ PhpOffice\ Common\ Autoloader:: register() Require_once 'src/Common/Autoloader.php' \ PhpOffice\ PhpPresentation\ Autoloader:: register() with your own install require_once 'src/PhpPresentation/Autoloader.php' The following lines to your composer.json. It is recommended that you install the PHPPresentation library through composer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |