PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderBlockPie Method / RenderBlockPie(Unit,Unit,Single,Single,Color,Unit,Color) Method
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 line color.
The line thickness.
The fill color.

In This Topic
    RenderBlockPie(Unit,Unit,Single,Single,Color,Unit,Color) Method
    In This Topic
    Renders a pie into the block flow of the current document.
    Syntax
    'Declaration
     
    Public Overloads Function RenderBlockPie( _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single, _
       ByVal lineColor As Color, _
       ByVal lineThickness As Unit, _
       ByVal fillColor As Color _
    ) As Boolean
    public bool RenderBlockPie( 
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle,
       Color lineColor,
       Unit lineThickness,
       Color fillColor
    )

    Parameters

    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).
    lineColor
    The line color.
    lineThickness
    The line thickness.
    fillColor
    The fill color.

    Return Value

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

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

    See Also