Portion
Overview
Portion is a class in Aspose.Slides FOSS for C++.
Represents a text portion (run) within a paragraph.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Portion | Portion | Read | Property returns the current Portion instance |
Methods
| Signature | Description |
|---|---|
Portion() → Portion | Constructs an empty portion. |
set_text(value: std::string) | Sets the text content of the portion. |
init_internal(r_element: pugi::xml_node, p_element: pugi::xml_node, txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Initialize this portion from XML elements within a slide part. |
r_element() → pugi::xml_node | Returns the backing XML element, if any. |
p_element() → pugi::xml_node | Returns the backing XML element, if any. |
txbody_element() → pugi::xml_node | Returns the backing XML element, if any. |
set_slide(slide: IBaseSlide) | Sets the parent slide for this portion. |