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 |
- hdc
Identifies the device context. |
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. |
|