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



SetArcDirection

The SetArcDirection sets the drawing direction to be used for arc and rectangle functions.

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

VB.NET
System.Drawing.Graphics.DrawArc

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

Library
Gdi32

Parameter Information
- hdc
Identifies the device context.

- ArcDirection
Specifies the new arc direction. This parameter can be one of the following values:
AD_COUNTERCLOCKWISE
Figures drawn counterclockwise.
AD_CLOCKWISE
Figures drawn clockwise.

Return Values
If the function succeeds, the return value specifies the old arc direction.

If the function fails, the return value is zero.

Last update: 07 April 2006