Paint.RichTextSize (gb.qt4)

Static Function RichTextSize ( Text As String [ , Width As Float ] ) As RectF

Return the bounding box needed by a string of rich text.

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