Freigeben über


Bidi.GetParagraph(Int32) Method

Definition

Get a paragraph, given a position within the text.

[Android.Runtime.Register("getParagraph", "(I)Landroid/icu/text/BidiRun;", "GetGetParagraph_IHandler", ApiSince=29)]
public virtual Android.Icu.Text.BidiRun? GetParagraph (int charIndex);
[<Android.Runtime.Register("getParagraph", "(I)Landroid/icu/text/BidiRun;", "GetGetParagraph_IHandler", ApiSince=29)>]
abstract member GetParagraph : int -> Android.Icu.Text.BidiRun
override this.GetParagraph : int -> Android.Icu.Text.BidiRun

Parameters

charIndex
Int32

is the index of a character within the text, in the range [0..getProcessedLength()-1].

Returns

a BidiRun object with the details of the paragraph:<br> start will receive the index of the first character of the paragraph in the text.<br> limit will receive the limit of the paragraph.<br> embeddingLevel will receive the level of the paragraph.

Attributes

Remarks

Get a paragraph, given a position within the text. This method returns information about a paragraph.<br> Note: if the paragraph index is known, it is more efficient to retrieve the paragraph information using getParagraphByIndex().

Java documentation for android.icu.text.Bidi.getParagraph(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to