Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawEllipse Method / DrawEllipse(RectangleF,Color,Single,DashStyle) Method
A System.Drawing.RectangleF structure that specifies the ellipse to draw.
The color of lines used to draw the ellipse.
The width of lines used to draw the ellipse.
The line style (solid by default).

In This Topic
    DrawEllipse(RectangleF,Color,Single,DashStyle) Method
    In This Topic
    Draws an ellipse using a specified line color, width and style.

    If the value of lineStyle parameter is not DashStyle.Solid, the ellipse is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawEllipse( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal lineColor As System.Drawing.Color, _
       ByVal lineWidth As System.Single, _
       Optional ByVal lineStyle As DashStyle _
    ) 
    public void DrawEllipse( 
       System.Drawing.RectangleF bounds,
       System.Drawing.Color lineColor,
       System.float lineWidth,
       DashStyle lineStyle
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that specifies the ellipse to draw.
    lineColor
    The color of lines used to draw the ellipse.
    lineWidth
    The width of lines used to draw the ellipse.
    lineStyle
    The line style (solid by default).
    See Also