Font.TextSize (gb.qt4)

Function TextSize ( Text As String ) As Rect

Since 3.16

Return the size of a text string.

This property computes the same thing as TextWidth and TextHeight, but in one shot.