LineBreakConfig.Builder.SetHyphenation(Int32) 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.
[Android.Runtime.Register("setHyphenation", "(I)Landroid/graphics/text/LineBreakConfig$Builder;", "", ApiSince=35)]
public Android.Graphics.Text.LineBreakConfig.Builder SetHyphenation(int hyphenation);
[<Android.Runtime.Register("setHyphenation", "(I)Landroid/graphics/text/LineBreakConfig$Builder;", "", ApiSince=35)>]
member this.SetHyphenation : int -> Android.Graphics.Text.LineBreakConfig.Builder
Parameters
- hyphenation
- Int32
The hyphenation preference, as the integer value of Unspecified, Enabled, or Disabled.
Returns
This Builder. This value cannot be null.
- Attributes
Remarks
Sets the hyphenation preference. Even if Enabled is specified, hyphenation is not performed if the text layout or line breaker is configured with None. Even if hyphenation is enabled with the Simple line-break strategy, it is not performed unless a single word cannot meet the width constraints.
Android reference for android.graphics.text.LineBreakConfig.Builder.setHyphenation.
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.