-
Notifications
You must be signed in to change notification settings - Fork 534
Closed
Description
I am adding images to a powerpoint and it was working fine in v1.0.
This is the code
foreach ($images as $imagePath) {
$slide = $presentation->createSlide();
$shape = $slide->createDrawingShape();
$shape->setPath($imagePath);
$shape->setResizeProportional(true);
$shape->setWidth($width);
$shape->setOffsetX(0);
$shape->setOffsetY(0);
$shape->setName('Content');
$shape->setDescription('Content');
}
Now after updating I just get an empty page with "Content"
It works if I use this, but I want to add them as drawing shapes
$image = new Image();
$image->setPath($imagePath);
$slide->setBackground($image);
kw-pr