PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderBlockArc Method / RenderBlockArc(Unit,Unit,Single,Single,LineDef,Color) Method
The width of the arc.
The height of the arc.
The arc's starting angle (in degrees, measured clockwise from the X axis).
The arc's sweep angle (in degrees, measured clockwise from startAngle).
The LineDef to draw the arc with.
The fill color.

In This Topic
    RenderBlockArc(Unit,Unit,Single,Single,LineDef,Color) Method
    In This Topic
    Renders an arc into the block flow of the current document.
    Syntax
    'Declaration
     
    Public Overloads Function RenderBlockArc( _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single, _
       ByVal line As LineDef, _
       ByVal fillColor As Color _
    ) As Boolean
    public bool RenderBlockArc( 
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle,
       LineDef line,
       Color fillColor
    )

    Parameters

    width
    The width of the arc.
    height
    The height of the arc.
    startAngle
    The arc's starting angle (in degrees, measured clockwise from the X axis).
    sweepAngle
    The arc's sweep angle (in degrees, measured clockwise from startAngle).
    line
    The LineDef to draw the arc with.
    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