Paragraph¶
Represents a paragraph of text.
Capabilities¶
Properties¶
- Paragraph.Content: Gets the content range of the element, for example to replace text only inside this element.
- Paragraph.ElementType: Gets the element type name, such as
'Paragraph','Run'or'Table'.
Paragraphs¶
- Paragraph.Inlines: Gets the paragraph's inlines.
Paragraph Formatting¶
- Paragraph.ParagraphFormat: Gets the paragraph format.
Methods¶
- Paragraph.Clone: Creates a copy of the element. The copy is not part of the document until it is added to a collection with the collection's
Appendmethod, such as BlockCollection.Append. - Paragraph.GetChildElements: Returns the child elements.
- Paragraph.GetParentElements: Returns the ancestors of the element, starting from the direct parent.