Skip to main content
A newer version of this page is available.
All docs
V18.2

SubDocument.GetParagraphs(DocumentRange) Method

OBSOLETE

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

Provides access to paragraphs to which the specified range belongs.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ReadOnlyParagraphCollection.Get(DocumentRange range)' method instead.")]
ParagraphCollection GetParagraphs(
    DocumentRange range
)

Parameters

Name Type Description
range DocumentRange

A DocumentRange specifying the range for which the encompassing paragraphs are obtained.

Returns

Type Description
ParagraphCollection

A ParagraphCollection object that is the collection of paragraphs.

Remarks

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

See Also