[]
Sets the background mode of the device context.
public BackgroundMode SetBackgroundMode(BackgroundMode backgroundMode)
| Type | Name | Description |
|---|---|---|
| BackgroundMode | backgroundMode |
| Type | Description |
|---|---|
| BackgroundMode | Returns the previous foreground mode of the device context. |
The BackgroundMode affects the line styles for lines drawn using a pen created by the CreatePen GDI API function. The BackgroundMode does not affect lines drawn using a pen created by the ExtCreatePen GDI API function.
backgroundMode parameter can also be set to driver-specific values.
GDI passes such values to the device driver and otherwise ignores them.