PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderBlockEllipse Method / RenderBlockEllipse(Unit,Unit,LineDef,Brush) Method
The width of the ellipse.
The height of the ellipse.
The C1.C1Preview.LineDef to draw the ellipse with.
The ellipse fill brush.

In This Topic
    RenderBlockEllipse(Unit,Unit,LineDef,Brush) Method
    In This Topic
    Renders an ellipse into the block flow of the current document.
    Syntax
    'Declaration
     
    Public Overloads Function RenderBlockEllipse( _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal line As LineDef, _
       ByVal fillBrush As Brush _
    ) As Boolean
    public bool RenderBlockEllipse( 
       Unit width,
       Unit height,
       LineDef line,
       Brush fillBrush
    )

    Parameters

    width
    The width of the ellipse.
    height
    The height of the ellipse.
    line
    The C1.C1Preview.LineDef to draw the ellipse with.
    fillBrush
    The ellipse fill brush.

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks

    This method can only be used between calls to C1.C1Preview.C1PrintDocument.StartDoc and C1.C1Preview.C1PrintDocument.EndDoc methods on the current document. For details, see C1.C1Preview.C1PrintDocument.RenderBlock.

    See Also