Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

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

Syntax

C#
public void RenderDirectPie(
	Unit x,
	Unit y,
	Unit width,
	Unit height,
	float startAngle,
	float sweepAngle,
	LineDef line,
	Brush fillBrush
)
Visual Basic
Public Sub RenderDirectPie ( _
	x As Unit, _
	y As Unit, _
	width As Unit, _
	height As Unit, _
	startAngle As Single, _
	sweepAngle As Single, _
	line As LineDef, _
	fillBrush As Brush _
)

Parameters

x
Type: C1.C1Preview..::..Unit
The horizontal (X) coordinate at which to render the pie (cannot be auto).
y
Type: C1.C1Preview..::..Unit
The vertical (Y) coordinate at which to render the pie (cannot be auto).
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).
line
Type: C1.C1Preview..::..LineDef
The LineDef to draw the pie with.
fillBrush
Type: System.Drawing..::..Brush
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