ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / CreatePieRegion Method
A System.Drawing.Rectangle structure that defines the boundaries of the pie.
A float value that defines the start angle of the pie.
A float value that defines the sweep angle of the pie.

In This Topic
    CreatePieRegion Method
    In This Topic
    Create a pie region.
    Syntax
    'Declaration
     
    
    Public Shared Function CreatePieRegion( _
       ByVal rectangle As Rectangle, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single _
    ) As Region
    public static Region CreatePieRegion( 
       Rectangle rectangle,
       float startAngle,
       float sweepAngle
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle structure that defines the boundaries of the pie.
    startAngle
    A float value that defines the start angle of the pie.
    sweepAngle
    A float value that defines the sweep angle of the pie.

    Return Value

    A Region indicates the pie 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