[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Graphics.DrawEllipse

DrawEllipse Method

DrawEllipse(Pen, Rectangle)

Draw the special ellipse by using the given pen

Declaration
public void DrawEllipse(Pen pen, Rectangle rectangle)
Public Sub DrawEllipse(pen As Pen, rectangle As Rectangle)
Parameters
Type Name Description
Pen pen

A Pen indicate the draw-style of ellipse

Rectangle rectangle

A Rectangle indicates the bounding rectangle which center is the center of ellipse

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.

Exceptions
Type Condition
SystemErrorException