PHPPresentation icon indicating copy to clipboard operation
PHPPresentation copied to clipboard

RichText Properties

Open KevinAHM opened this issue 1 year ago • 0 comments

https://phpoffice.github.io/PHPPresentation/usage/shapes/richtext.html

How do you set the properties?

// Create a new rich text shape
$shape = $currentSlide->createRichTextShape();
// Set the topInset (adjust the value as needed)
$shape->setTopInset(20); // 20 pixels from the top

Uncaught Error: Call to undefined method PhpOffice\PhpPresentation\Shape\RichText::setTopInset()

KevinAHM avatar Apr 13 '24 05:04 KevinAHM