ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / CreateChordRegion Method
A System.Drawing.Rectangle indicates the bounds of the ellipse.
A float specifies the start angle, in degrees.
A float specifies the sweep angle, in degrees, relative to the starting angle.

In This Topic
    CreateChordRegion Method
    In This Topic
    Creates a chord region (a region bounded by the intersection of an ellipse and a line segment, called a secant).
    Syntax
    'Declaration
     
    
    Public Shared Function CreateChordRegion( _
       ByVal rectangle As Rectangle, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single _
    ) As Region
    public static Region CreateChordRegion( 
       Rectangle rectangle,
       float startAngle,
       float sweepAngle
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle indicates the bounds of the ellipse.
    startAngle
    A float specifies the start angle, in degrees.
    sweepAngle
    A float specifies the sweep angle, in degrees, relative to the starting angle.

    Return Value

    A Region indicates the chord region.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also