[]
        
(Showing Draft Content)

C1.Xaml.Pdf.C1PdfDocument.DrawPie

DrawPie Method

DrawPie(Pen, Rect, double, double)

Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

Declaration
public void DrawPie(Pen pen, Rect rc, double startAngle, double sweepAngle)
Public Sub DrawPie(pen As Pen, rc As Rect, startAngle As Double, sweepAngle As Double)
Parameters
Type Name Description
Pen pen

Pen object that determines the color, width, and style of the pie shape.

Rect rc

The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.

double startAngle

Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.

double 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.