Skip to content
New issue

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

RichText Properties #802

Open
KevinAHM opened this issue Apr 13, 2024 · 0 comments
Open

RichText Properties #802

KevinAHM opened this issue Apr 13, 2024 · 0 comments

Comments

@KevinAHM
Copy link

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants