Udostępnij za pośrednictwem


Bidi.CreateLineBidi(Int32, Int32) Method

Definition

Create a Bidi object representing the bidi information on a line of text within the paragraph represented by the current Bidi.

[Android.Runtime.Register("createLineBidi", "(II)Ljava/text/Bidi;", "")]
public Java.Text.Bidi? CreateLineBidi (int lineStart, int lineLimit);
[<Android.Runtime.Register("createLineBidi", "(II)Ljava/text/Bidi;", "")>]
member this.CreateLineBidi : int * int -> Java.Text.Bidi

Parameters

lineStart
Int32

the offset from the start of the paragraph to the start of the line.

lineLimit
Int32

the offset from the start of the paragraph to the limit of the line.

Returns

a Bidi object

Attributes

Exceptions

if lineStart , lineLimit , lineStart > lineLimit or if lineStart is greater than the length of this object's paragraph text.

Remarks

Create a Bidi object representing the bidi information on a line of text within the paragraph represented by the current Bidi. This call is not required if the entire paragraph fits on one line.

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