We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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);
The text was updated successfully, but these errors were encountered:
code
$imageFile = new File(); $imageFile->setPath($filePath)->setName(time()); $this->activeSlide->addShape($imageFile);
Sorry, something went wrong.
No branches or pull requests
I am adding images to a powerpoint and it was working fine in v1.0.
This is the code
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
The text was updated successfully, but these errors were encountered: