DirectX SDK |
The DirectDrawSurface7.DrawText method draws text on the surface.
object.DrawText( _ x As Long, _ y As Long, _ text As String, _ b As Boolean)
If the method fails, it raises an error, and Err.Number is set.
To append text to the end of the last call to DirectDrawSurface7.DrawText, pass 0,0 as the x- and y-coordinates, and declare b as True. If you declare b as False, calling this method causes text to be displayed at the specified x- and y-coordinates.