ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / PaintEllipse Method
A System.Drawing.Rectangle indicates the bounding rectangle.

In This Topic
    PaintEllipse Method
    In This Topic
    Paints an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.
    Syntax
    'Declaration
     
    Public Overridable Sub PaintEllipse( _
       ByVal rectangle As System.Drawing.Rectangle _
    ) 
    public virtual void PaintEllipse( 
       System.Drawing.Rectangle rectangle
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle indicates the bounding rectangle.
    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