The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.
.NET Core 3.0+

SubDocument.GetParagraph(DocumentPosition) Method

Obsolete. Gets the paragraph encompassing the specified position.

Namespace: DevExpress.XtraRichEdit.API.Native

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

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.

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