Microsoft DirectX 8.1 (Visual Basic) |
Draws formatted text on a Microsoft® Direct3D® device.
object.DrawText( _ D3dFont As D3DXFont, _ Color As Long, _ TextString As String, _ RECT As RECT, _ Format As Long)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
D3DERR_INVALIDCALL |
D3DERR_NOTAVAILABLE |
D3DERR_OUTOFVIDEOMEMORY |
E_OUTOFMEMORY |
For information on trapping errors, see the Microsoft Visual Basic® Error Handling topic.