Portion

Overview

Portion is a class in Aspose.Slides FOSS for C++.

Represents a text portion (run) within a paragraph.

Properties

NameTypeAccessDescription
PortionPortionReadProperty returns the current Portion instance

Methods

SignatureDescription
Portion()PortionConstructs 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_nodeReturns the backing XML element, if any.
p_element()pugi::xml_nodeReturns the backing XML element, if any.
txbody_element()pugi::xml_nodeReturns the backing XML element, if any.
set_slide(slide: IBaseSlide)Sets the parent slide for this portion.