Platform SDK: DirectX

DirectDrawSurface7.SetDrawStyle

The DirectDrawSurface7.SetDrawStyle sets the draw style.

object.SetDrawStyle(drawStyle As Long)

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
drawStyle
One of the following draw styles to be set.
Setting Description
0 (Default) Solid
1 Dash
2 Dot
3 Dash-dot
4 Dash-dot-dot
5 Transparent
6 Inside solid

Error Codes

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

See Also

DirectDrawSurface7.GetDrawStyle