?/TD> |
Microsoft DirectX 9.0 |
Prepares a device for drawing text.
Syntax
HRESULT Begin(VOID);
Return Value
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value. D3DXERR_INVALIDDATA The data is invalid.
Remarks
This method is optional. If a DrawText method is called outside of a Begin and ID3DXFont::End pair, then Microsoft?Direct3D?will call Begin and End.
See Also
ID3DXFont::End