Platform SDK: DirectX

DirectDrawSurface7.GetDrawStyle

The DirectDrawSurface7.GetDrawStyle method returns the style set by DirectDrawSurface7.SetDrawStyle.

object.GetDrawStyle() As Long

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.

Return Values

The style set by DirectDrawSurface7.SetDrawStyle.

Error Codes

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

Remarks

The default draw style is a solid line.