ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / DrawEllipse Method / DrawEllipse(Pen,Single,Single,Single,Single) Method
System.Drawing.Pen object that determines the color, width, and style of the ellipse.
x-coordinate of the upper-left corner of the bounding rectangle.
x-coordinate of the upper-left corner of the bounding rectangle.
Width of the bounding rectangle.
Height of the bounding rectangle.

In This Topic
    DrawEllipse(Pen,Single,Single,Single,Single) Method
    In This Topic
    Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.
    Syntax
    'Declaration
     
    
    Public Overloads Sub DrawEllipse( _
       ByVal pen As Pen, _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    ) 
    public void DrawEllipse( 
       Pen pen,
       float x,
       float y,
       float width,
       float height
    )

    Parameters

    pen
    System.Drawing.Pen object that determines the color, width, and style of the ellipse.
    x
    x-coordinate of the upper-left corner of the bounding rectangle.
    y
    x-coordinate of the upper-left corner of the bounding rectangle.
    width
    Width of the bounding rectangle.
    height
    Height of the bounding rectangle.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also