Paint.TextSize (gb.qt4)

Static Function TextSize ( Text As String ) As RectF

Return the bounding box needed by a string of text.

Contrary to TextExtents, the font height is used, not the real "inked" text.