Click or drag to resize

DocumentGetParagraph Method

Gives next of parent paragraph object or triggers an exception.

Namespace:  SOWIDocument.Word
Assembly:  SOWIDocument.Word (in SOWIDocument.Word.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
internal Paragraph GetParagraph(
	ref OpenXmlElement pSelection
)

Parameters

pSelection
Type: OpenXmlElement
Document selection to search next paragraph

Return Value

Type: Paragraph
Next paragraph object
Exceptions
ExceptionCondition
ExceptionIf not found a parent paragraph object (is analyse three parents level).
Remarks
Analyse three parent level up.

If not found a paragraph triggers an exception.

See Also