TextFrame
Overview
TextFrame is a class in Aspose.Slides FOSS for C++.
Represents a TextFrame containing paragraphs of text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
TextFrame | TextFrame | Read | Creates a new empty TextFrame instance |
Methods
| Signature | Description |
|---|---|
TextFrame() → TextFrame | Creates a new empty TextFrame instance |
text() → std::string | Returns the plain text for a TextFrame (paragraphs joined by newlines). |
set_text(value: std::string) | Sets the plain text, splitting on line breaks into separate paragraphs. |
set_slide(slide: IBaseSlide) | Sets the parent slide for this text frame. |
set_parent_shape(shape: IShape) | Sets the parent shape for this text frame. |
set_parent_cell(cell: ICell) | Sets the parent cell for this text frame. |
init_internal(txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Initializes internal XML-backed state for this text frame. |