Bidi.GetParagraphIndex(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the index of a paragraph, given a position within the text.
[Android.Runtime.Register("getParagraphIndex", "(I)I", "GetGetParagraphIndex_IHandler", ApiSince=29)]
public virtual int GetParagraphIndex (int charIndex);
[<Android.Runtime.Register("getParagraphIndex", "(I)I", "GetGetParagraphIndex_IHandler", ApiSince=29)>]
abstract member GetParagraphIndex : int -> int
override this.GetParagraphIndex : int -> int
Parameters
- charIndex
- Int32
is the index of a character within the text, in the
range [0..getProcessedLength()-1]
.
Returns
The index of the paragraph containing the specified position, starting from 0.
- Attributes
Remarks
Get the index of a paragraph, given a position within the text.
Java documentation for android.icu.text.Bidi.getParagraphIndex(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.