Paint.DrawRichText (gb.qt4)
Static Sub DrawRichText ( Text As String [ , X As Float, Y As Float, Width As Float, Height As Float, Alignment As Integer ] )
Draw the specified piece of text.
  - 
Text : the rich text to draw.
- 
X : the X coordinate of where the first character will be drawn.
- 
Y : the Y coordinate of where the first character will be drawn.
- 
Width : the width of the rectangle the text will be drawn inside.
- 
Height : the height of the rectangle the text will be drawn inside.
- 
Alignment : how the text will be aligned inside the specified rectangle.
If 
X and 
Y are not specified, then the text will be drawn from the current point.
If 
Width and 
Height are not specified, then 
Y will be the baseline of the drawn text.
If 
Width and 
Height are specified, then (
X, 
Y, 
Width, 
Height) define a rectangle the text will be aligned inside, according to the 
Alignment argument.
See also