共用方式為


Bidi.GetLevelAt(Int32) Method

Definition

Return the resolved level of the character at offset.

[Android.Runtime.Register("getLevelAt", "(I)I", "")]
public int GetLevelAt (int offset);
[<Android.Runtime.Register("getLevelAt", "(I)I", "")>]
member this.GetLevelAt : int -> int

Parameters

offset
Int32

the index of the character for which to return the level

Returns

the resolved level of the character at offset

Attributes

Remarks

Return the resolved level of the character at offset. If offset is < 0 or &ge; the length of the line, return the base direction level.

Java documentation for java.text.Bidi.getLevelAt(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