DirectX SDK

DirectDrawSurface7.SetFontTransparency

The DirectDrawSurface7.SetFontTransparency specifies whether the font to be used when the DirectDrawSurface7.DrawText called is transparent.

object.SetFontTransparency(b As Boolean)

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
b
Set to D_TRUE if the font is transparent, or D_FALSE if the font is not transparent.

Error Codes

If the method fails, it raises an error, and Err.Number is set.