Share via


StaticLayout.Builder.Build Method

Definition

Build the StaticLayout after options have been set.

[Android.Runtime.Register("build", "()Landroid/text/StaticLayout;", "", ApiSince=23)]
public Android.Text.StaticLayout Build ();
[<Android.Runtime.Register("build", "()Landroid/text/StaticLayout;", "", ApiSince=23)>]
member this.Build : unit -> Android.Text.StaticLayout

Returns

the newly constructed StaticLayout object

Attributes

Remarks

Build the StaticLayout after options have been set.

Note: the builder object must not be reused in any way after calling this method. Setting parameters after calling this method, or calling it a second time on the same builder object, will likely lead to unexpected results.

Java documentation for android.text.StaticLayout.Builder.build().

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