ITextDirectionHeuristic.IsRtl 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.
Overloads
IsRtl(ICharSequence, Int32, Int32) |
Guess if a |
IsRtl(Char[], Int32, Int32) |
Guess if a chars array is in the RTL direction or not. |
IsRtl(ICharSequence, Int32, Int32)
Guess if a CharSequence
is in the RTL direction or not.
[Android.Runtime.Register("isRtl", "(Ljava/lang/CharSequence;II)Z", "GetIsRtl_Ljava_lang_CharSequence_IIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsRtl (Java.Lang.ICharSequence? cs, int start, int count);
[<Android.Runtime.Register("isRtl", "(Ljava/lang/CharSequence;II)Z", "GetIsRtl_Ljava_lang_CharSequence_IIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsRtl : Java.Lang.ICharSequence * int * int -> bool
Parameters
the CharSequence.
- start
- Int32
start index, inclusive.
- count
- Int32
the length to check, must not be negative and not greater than
CharSequence.length() - start
.
Returns
true if all chars in the range are to be considered in a RTL direction, false otherwise.
- Attributes
Remarks
Guess if a CharSequence
is in the RTL direction or not.
Java documentation for android.text.TextDirectionHeuristic.isRtl(java.lang.CharSequence, 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
IsRtl(Char[], Int32, Int32)
Guess if a chars array is in the RTL direction or not.
[Android.Runtime.Register("isRtl", "([CII)Z", "GetIsRtl_arrayCIIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsRtl (char[]? array, int start, int count);
[<Android.Runtime.Register("isRtl", "([CII)Z", "GetIsRtl_arrayCIIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsRtl : char[] * int * int -> bool
Parameters
- array
- Char[]
the char array.
- start
- Int32
start index, inclusive.
- count
- Int32
the length to check, must not be negative and not greater than
array.length - start
.
Returns
true if all chars in the range are to be considered in a RTL direction, false otherwise.
- Attributes
Remarks
Guess if a chars array is in the RTL direction or not.
Java documentation for android.text.TextDirectionHeuristic.isRtl(char[], 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.