Freigeben über


Bidi.ResultLength Property

Definition

Get the length of the reordered text resulting from the last call to setPara().

public virtual int ResultLength { [Android.Runtime.Register("getResultLength", "()I", "GetGetResultLengthHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getResultLength", "()I", "GetGetResultLengthHandler", ApiSince=29)>]
member this.ResultLength : int

Property Value

The length of the reordered text resulting from the last call to setPara.

Attributes

Remarks

Get the length of the reordered text resulting from the last call to setPara(). This length may be different from the length of the source text if option OPTION_INSERT_MARKS or option OPTION_REMOVE_CONTROLS has been set. <br> This resulting length is the one to consider in the following cases: <ul> <li>maximum value of the visualIndex argument of getLogicalIndex</li> <li>number of elements returned by getVisualMap</li> </ul> Note that this length stays identical to the source text length if Bidi marks are inserted or removed using option bits of writeReordered, or if option REORDER_INVERSE_NUMBERS_AS_L has been set.

Java documentation for android.icu.text.Bidi.getResultLength().

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