PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderBlockPie Method / RenderBlockPie(Unit,Unit,Single,Single,Style) 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 C1.C1Preview.C1PrintDocument.Style to use.

In This Topic
    RenderBlockPie(Unit,Unit,Single,Single,Style) 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 style As Style _
    ) As Boolean
    public bool RenderBlockPie( 
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle,
       Style style
    )

    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).
    style
    The C1.C1Preview.C1PrintDocument.Style to use.

    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