Language

StaticLayout.Builder.SetText Method

Definition

Overloads

Name Description
SetText(ICharSequence)

Selects the complete source text for this builder.

SetText(String)

Selects the complete source string for this builder.

SetText(ICharSequence)

Selects the complete source text for this builder.

[Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)Landroid/text/StaticLayout$Builder;", "", ApiSince=23)]
public Android.Text.StaticLayout.Builder? SetText(Java.Lang.ICharSequence? source);
[<Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)Landroid/text/StaticLayout$Builder;", "", ApiSince=23)>]
member this.SetText : Java.Lang.ICharSequence -> Android.Text.StaticLayout.Builder

Parameters

source
ICharSequence

The complete text to lay out.

Returns

This builder with its text range set to the entire source.

Attributes

Remarks

Android reference for android.text.StaticLayout.Builder.setText.

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

SetText(String)

Selects the complete source string for this builder.

public Android.Text.StaticLayout.Builder? SetText(string? source);
member this.SetText : string -> Android.Text.StaticLayout.Builder

Parameters

source
String

The complete string to lay out.

Returns

This builder with its text range set to the entire source.

Remarks

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