comp • gb.qt4 • font • richtextsize

Font.RichTextSize (gb.qt4)

Function RichTextSize ( Text As String [ , Width As Integer ] ) As Rect

Return the size of a rich text fragment.

If Width is specified, then the rich text width is constrained to its value. Otherwise, it can expand horizontally as much as needed.

This property computes the same thing as RichTextWidth and RichTextHeight, but in one shot.