DirectX SDK

DirectDrawSurface7.SetFillStyle

The DirectDrawSurface7.SetFillStyle specifies the fill style used in the drawing methods.

object.SetFillStyle(fillStyle As Long)

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
fillStyle
One of the following fill styles to be used in drawing methods.
Setting Description
0 (Default) Solid
1 Transparent
2 Horizontal line
3 Vertical line
4 Upward diagonal
5 Downward diagonal
6 Cross
7 Diagonal cross

Error Codes

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

See Also

DirectDrawSurface7.GetFillStyle