How to Set Text Overflow from Script

Hi all.
I want to set UnityEngine.UI.Text`s “Vertical Overflow” setting from script.
And I found enum about it from document.

VerticalWrapMode
Wrapping modes for text that reaches the vertical boundary.

But there is no property at Text.

How to change this?

Hi, it looks like we forgot to expose this to script. Can you log a bug so we remember to do this after Unite?

Thanks I’ll send Bug Report.

Two bugs have been logged for this. Is it going to make it for the official 4.6 release?

Bump…

Text.verticalOverflow = VerticalWrapMode.Overflow;
seems to work