Platform SDK: DirectX

DirectDrawSurface7.SetDrawWidth

The DirectDrawSurface7.SetDrawWidth method sets the width of the line used in drawing methods.

object.setDrawWidth(drawWidth As Long)

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
drawWidth
Width of the line used in drawing methods. The default value is 1. Any value in the range from 1 through 32,767 is valid.

Error Codes

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

See Also

DirectDrawSurface7.GetDrawWidth