Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderDirectPie Method / RenderDirectPie(Unit,Unit,Unit,Unit,Single,Single,LineDef,Brush) Method
The horizontal (X) coordinate at which to render the pie (cannot be auto).
The vertical (Y) coordinate at which to render the pie (cannot be auto).
The width of the pie.
The height of the pie.
The pie's starting angle (in degrees, measured clockwise from the X axis).
The pie's sweep angle (in degrees, measured clockwise from startAngle).
The LineDef to draw the pie with.
The fill brush.

In This Topic
    RenderDirectPie(Unit,Unit,Unit,Unit,Single,Single,LineDef,Brush) Method
    In This Topic
    Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.
    Syntax
    'Declaration
     
    Public Overloads Sub RenderDirectPie( _
       ByVal x As Unit, _
       ByVal y As Unit, _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single, _
       ByVal line As LineDef, _
       ByVal fillBrush As Brush _
    ) 
    public void RenderDirectPie( 
       Unit x,
       Unit y,
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle,
       LineDef line,
       Brush fillBrush
    )

    Parameters

    x
    The horizontal (X) coordinate at which to render the pie (cannot be auto).
    y
    The vertical (Y) coordinate at which to render the pie (cannot be auto).
    width
    The width of the pie.
    height
    The height of the pie.
    startAngle
    The pie's starting angle (in degrees, measured clockwise from the X axis).
    sweepAngle
    The pie's sweep angle (in degrees, measured clockwise from startAngle).
    line
    The LineDef to draw the pie with.
    fillBrush
    The fill brush.
    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