Skip to main content

SubDocument.GetParagraph(DocumentPosition) Method

Obsolete. Gets the paragraph encompassing the specified position.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.Core.dll

Declaration

[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ReadOnlyParagraphCollection.Get(DocumentPosition pos)' method instead.")]
Paragraph GetParagraph(
    DocumentPosition pos
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ReadOnlyParagraphCollection.Get(DocumentPosition pos)' method instead.")>
Function GetParagraph(
    pos As DocumentPosition
) As Paragraph

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition instance representing the position in the document.

Returns

Type Description
Paragraph

A Paragraph object representing the paragraph containing the position.

See Also