Paragraph

Overview

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

Represents a text paragraph within a text frame.

Properties

NameTypeAccessDescription
ParagraphParagraphReadProvides access to the paragraph instance itself

Methods

SignatureDescription
Paragraph()ParagraphConstructs an empty paragraph.
text()std::stringReturns the text content of the paragraph.
set_text(value: std::string)Sets the text content of the paragraph.
init_internal(p_element: pugi::xml_node, txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)Initialize this paragraph from XML elements within a slide part.
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 paragraph.