ComponentOne PDF for WPF and Silverlight
DrawPie Method (C1PdfDocument)

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocument Class : DrawPie Method
Pen object that determines the color, width, and style of the pie shape.
The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.
Syntax
'Declaration
 
Public Sub DrawPie( _
   ByVal pen As Pen, _
   ByVal rc As Rect, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) 
public void DrawPie( 
   Pen pen,
   Rect rc,
   float startAngle,
   float sweepAngle
)

Parameters

pen
Pen object that determines the color, width, and style of the pie shape.
rc
The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.
startAngle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members