Renders a pie into the block flow of the current document.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public bool RenderBlockPie(
	Unit width,
	Unit height,
	float startAngle,
	float sweepAngle,
	Color lineColor,
	Unit lineThickness,
	Color fillColor
)
Visual Basic
Public Function RenderBlockPie ( _
	width As Unit, _
	height As Unit, _
	startAngle As Single, _
	sweepAngle As Single, _
	lineColor As Color, _
	lineThickness As Unit, _
	fillColor As Color _
) As Boolean

Parameters

width
Type: C1.C1Preview..::..Unit
The width of the pie.
height
Type: C1.C1Preview..::..Unit
The height of the pie.
startAngle
Type: System..::..Single
The pie's starting angle (in degrees, measured clockwise from the X axis).
sweepAngle
Type: System..::..Single
The pie's sweep angle (in degrees, measured clockwise from startAngle).
lineColor
Type: System.Drawing..::..Color
The line color.
lineThickness
Type: C1.C1Preview..::..Unit
The line thickness.
fillColor
Type: System.Drawing..::..Color
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(RenderObject).

See Also