iOSLabel.LineBreakMode

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Xojo.iOSLineBreakMode )
aiOSLabel.LineBreakMode = newXojo.iOSLineBreakModeValue
or
Xojo.iOSLineBreakModeValue = aiOSLabel.LineBreakMode

Supported on Mobile (iOS).

Specifies how text contents break or wrap when the text is too long to fit. The default is iOSLineBreakMode.BreakByWordWrapping.

Sample Code

Break long text by truncating it in the middle:

Label1.LineBreakMode = Xojo.iOSLineBreakMode.BreakByTruncatingMiddle