A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetPolyFillMode

The GetPolyFillMode function retrieves the current polygon fill mode.

VB4-32,5,6
Declare Function GetPolyFillMode Lib "gdi32" (ByVal hdc As Long) As Long

VB.NET
System.Drawing.Region

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Gdi32

Parameter Information
- hdc
Identifies the device context.

Return Values
If the function succeeds, the return value specifies the polygon fill mode, which can be either of the following values:
ALTERNATE
Selects alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line).
WINDING
Selects winding mode (fills any region with a nonzero winding value).

If an error occurs, the return value is zero.

Last update: 07 April 2006