Gdi32SetPolyFillMode Method

Sets the polygon fill mode for functions that fill polygons.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("GDI32.dll", SetLastError = true)]
public static FillMode SetPolyFillMode(
	IntPtr hDc,
	FillMode mode
)

Parameters

hDc  IntPtr
A handle to the device context.
mode  FillMode
The new fill mode.

Return Value

FillMode
The return value specifies the previous filling mode.

If an error occurs, the return value is Alternate.

Remarks

See Also