.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
A newer version of this page is available.

SubDocument.GetParagraph(DocumentPosition) Method

Obsolete. Gets the paragraph encompassing the specified position.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


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


Name Type Description
pos DocumentPosition

A DocumentPosition instance representing the position in the document.


Type Description

A Paragraph object representing the paragraph containing the position.


Use the ReadOnlyParagraphCollection.Get method (can be accessed using the RichEditControl.Document.Paragraphs.Get notation) instead of GetParagraph method to get the paragraph encompassing the specified position.

See Also