comp • gb.qt4 • font • richtextheight

Font.RichTextHeight (gb.qt4)

Function RichTextHeight ( Text As String [ , Width As Integer ] ) As Integer

Return the height 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.