Skip to main content

ApiRichParagraph

Class representing a rich paragraph.

ApiRichParagraph is a subclass of ApiRichParaPr.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddElementbooleanAdds an element to the current paragraph.
AddTextApiRichRunAdds some text to the current paragraph.
CopyApiRichParagraphCreates a paragraph copy.
DeletebooleanDeletes the current paragraph.
GetClassType"richParagraph"Returns a type of the ApiRichParagraph class.
GetElementApiRichRun | null | undefinedReturns a paragraph element using the position specified.
GetElementsCountnumberReturns a number of elements in the current paragraph.
GetJcHorTextAlignReturns the rich paragraph contents justification.
GetLastRunWithTextApiRunReturns the last Run with text in the current paragraph.
GetNextApiRichParagraph | null | undefinedReturns the next paragraph.
GetParaPrApiRichParaPrReturns the paragraph properties.
GetPosInParentNumberReturns the paragraph position within its parent element.
GetPreviousApiRichParagraph | null | undefinedReturns the previous paragraph.
GetTextstringReturns the paragraph text.
LastApiRichRunReturns the last element of the paragraph.
PushbooleanAdds an element to the current paragraph.
RemoveAllElementsbooleanRemoves all the elements from the current paragraph.
RemoveElementbooleanRemoves an element using the position specified.
SetJcbooleanSets the rich paragraph contents justification.
SetParaPrbooleanSets the paragraph properties.
SetReadingOrderApiRichParagraphSpecifies the reading order for the current paragraph.