BidiFormatter.UnicodeWrap 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
UnicodeWrap(String) |
Operates like |
UnicodeWrap(String, ITextDirectionHeuristic) |
Operates like |
UnicodeWrap(String, Boolean) |
Operates like |
UnicodeWrap(String, ITextDirectionHeuristic, Boolean) |
Operates like |
UnicodeWrap(String)
Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean)
, but uses
the formatter's default direction estimation algorithm and assumes isolate
is true.
public string? UnicodeWrap (string? str);
member this.UnicodeWrap : string -> string
Parameters
- str
- String
The input CharSequence.
Returns
Input CharSequence after applying the above processing.
Remarks
Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean)
, but uses the formatter's default direction estimation algorithm and assumes isolate
is true.
Java documentation for android.text.BidiFormatter.unicodeWrap(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
UnicodeWrap(String, ITextDirectionHeuristic)
Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean)
, but
assumes isolate
is true.
public string? UnicodeWrap (string? str, Android.Text.ITextDirectionHeuristic? heuristic);
member this.UnicodeWrap : string * Android.Text.ITextDirectionHeuristic -> string
Parameters
- str
- String
The input CharSequence.
- heuristic
- ITextDirectionHeuristic
The algorithm to be used to estimate the CharSequence's overall direction.
See TextDirectionHeuristics
for pre-defined heuristics.
Returns
Input CharSequence after applying the above processing.
Remarks
Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean)
, but assumes isolate
is true.
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
UnicodeWrap(String, Boolean)
Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean)
, but uses
the formatter's default direction estimation algorithm.
public string? UnicodeWrap (string? str, bool isolate);
member this.UnicodeWrap : string * bool -> string
Parameters
- str
- String
The input CharSequence.
- isolate
- Boolean
Whether to directionally isolate the CharSequence to prevent it from garbling the content around it
Returns
Input CharSequence after applying the above processing.
Remarks
Operates like #unicodeWrap(CharSequence, TextDirectionHeuristic, boolean)
, but uses the formatter's default direction estimation algorithm.
Java documentation for android.text.BidiFormatter.unicodeWrap(java.lang.CharSequence, boolean)
.
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
UnicodeWrap(String, ITextDirectionHeuristic, Boolean)
Operates like #unicodeWrap(String, TextDirectionHeuristic, boolean)
, but takes a
CharSequence instead of a string
public string? UnicodeWrap (string? str, Android.Text.ITextDirectionHeuristic? heuristic, bool isolate);
member this.UnicodeWrap : string * Android.Text.ITextDirectionHeuristic * bool -> string
Parameters
- str
- String
The input CharSequence.
- heuristic
- ITextDirectionHeuristic
The algorithm to be used to estimate the CharSequence's overall direction.
See TextDirectionHeuristics
for pre-defined heuristics.
- isolate
- Boolean
Whether to directionally isolate the CharSequence to prevent it from garbling the content around it
Returns
Input CharSequence after applying the above processing. null
if str
is null
.
Remarks
Operates like #unicodeWrap(String, TextDirectionHeuristic, boolean)
, but takes a CharSequence instead of a string
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.