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

In This Topic
    PaintEllipse Method (DeviceContext)
    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 Rectangle _
    ) 
    public virtual void PaintEllipse( 
       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