Skip to main content
A newer version of this page is available.
All docs
V19.1
.NET Framework 4.5.2+
  • 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.

SubDocument.GetParagraph(DocumentPosition) Method

OBSOLETE

This method has become obsolete. Use the 'Get' method instead.

Gets the paragraph encompassing the specified position.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.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
)

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.

Remarks

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