Skip to content

RichText Properties #802

Open
Open
@KevinAHM

Description

@KevinAHM

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions