ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / DrawEllipse Method
A Pen indicate the draw-style of ellipse
A System.Drawing.Rectangle indicates the bounding rectangle which center is the center of ellipse

In This Topic
    DrawEllipse Method
    In This Topic
    Draw the special ellipse by using the given pen
    Syntax
    'Declaration
     
    
    Public Sub DrawEllipse( _
       ByVal pen As Pen, _
       ByVal rectangle As Rectangle _
    ) 
    public void DrawEllipse( 
       Pen pen,
       Rectangle rectangle
    )

    Parameters

    pen
    A Pen indicate the draw-style of ellipse
    rectangle
    A System.Drawing.Rectangle indicates the bounding rectangle which center is the center of ellipse
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    Remarks
    Windows 95/98/Me: The sum of the coordinates of the bounding rectangle cannot exceed 32,767. The width of rectangle or the height of rectangle cannot exceed 32,767.
    See Also