PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderDirectEllipse Method / RenderDirectEllipse(Unit,Unit,Unit,Unit,Color,Unit) Method
The horizontal (X) coordinate at which to render the ellipse (cannot be auto).
The vertical (Y) coordinate at which to render the ellipse (cannot be auto).
The width of the ellipse.
The height of the ellipse.
The line color.
The line thickness.

In This Topic
    RenderDirectEllipse(Unit,Unit,Unit,Unit,Color,Unit) Method
    In This Topic
    Adds an ellipse to the Body of the current document at a specific position on the current page, and resolves it.
    Syntax
    'Declaration
     
    Public Overloads Sub RenderDirectEllipse( _
       ByVal x As Unit, _
       ByVal y As Unit, _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal lineColor As Color, _
       ByVal lineThickness As Unit _
    ) 
    public void RenderDirectEllipse( 
       Unit x,
       Unit y,
       Unit width,
       Unit height,
       Color lineColor,
       Unit lineThickness
    )

    Parameters

    x
    The horizontal (X) coordinate at which to render the ellipse (cannot be auto).
    y
    The vertical (Y) coordinate at which to render the ellipse (cannot be auto).
    width
    The width of the ellipse.
    height
    The height of the ellipse.
    lineColor
    The line color.
    lineThickness
    The line thickness.
    Remarks

    This method can only be used between calls to StartDoc and EndDoc methods on the current document. For details, see RenderDirect(Unit,Unit,RenderObject,Object,Object).

    See Also