Language

TextUtils.IsGraphic Method

Definition

Overloads

Name Description
IsGraphic(ICharSequence)

Returns whether the given CharSequence contains any printable characters.

IsGraphic(Char)
Obsolete.

Returns whether this character is a printable character.

IsGraphic(String)

Returns whether the given CharSequence contains any printable characters.

IsGraphic(ICharSequence)

Returns whether the given CharSequence contains any printable characters.

[Android.Runtime.Register("isGraphic", "(Ljava/lang/CharSequence;)Z", "")]
public static bool IsGraphic(Java.Lang.ICharSequence? str);
[<Android.Runtime.Register("isGraphic", "(Ljava/lang/CharSequence;)Z", "")>]
static member IsGraphic : Java.Lang.ICharSequence -> bool

Parameters

str
ICharSequence

The text to check for printable code points.

Returns

true if the text contains a printable code point; otherwise, false.

Attributes

Remarks

Returns whether the given CharSequence contains any printable characters.

Java documentation for android.text.TextUtils.isGraphic(java.lang.CharSequence).

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

IsGraphic(Char)

Caution

deprecated

Returns whether this character is a printable character.

[Android.Runtime.Register("isGraphic", "(C)Z", "")]
[System.Obsolete("deprecated")]
public static bool IsGraphic(char c);
[<Android.Runtime.Register("isGraphic", "(C)Z", "")>]
[<System.Obsolete("deprecated")>]
static member IsGraphic : char -> bool

Parameters

c
Char

The UTF-16 character to classify.

Returns

true if the character is printable; otherwise, false.

Attributes

Remarks

Returns whether this character is a printable character.

This does not support non-BMP characters and should not be used.

This member is deprecated. Use #isGraphic(CharSequence) instead.

Java documentation for android.text.TextUtils.isGraphic(char).

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

IsGraphic(String)

Returns whether the given CharSequence contains any printable characters.

public static bool IsGraphic(string? str);
static member IsGraphic : string -> bool

Parameters

str
String

The text to check for printable code points.

Returns

true if the text contains a printable code point; otherwise, false.

Remarks

Returns whether the given CharSequence contains any printable characters.

Java documentation for android.text.TextUtils.isGraphic(java.lang.CharSequence).

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