B4J Question Get Label height b4j

Star-Dust

Expert
Licensed User
Longtime User
use B4XCanvas.MeasureText to measure height and width in cross platform

B4X:
Dim Rec As B4XRect = Can.MeasureText(txt,xui.CreateDefaultFont(dt))
log(Rec.Width)
log(Rev.Height)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…