[]
        
(Showing Draft Content)

C1.C1Pdf.C1PdfDocument.DrawPie

DrawPie Method

DrawPie(Pen, RectangleF, float, float)

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

Declaration
public void DrawPie(Pen pen, RectangleF rc, float startAngle, float sweepAngle)
Parameters
Type Name Description
Pen pen

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

RectangleF rc

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

float startAngle

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

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