Skip to content

PdfGraphics.DrawChord Method

Overloads

Name Description
DrawChord(PdfPen,Double,Double,Double,Double,Double,Double) Draws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
DrawChord(PdfPen,Double,Double,Double,Double,Double,Double,Double) Draws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
DrawChord(PdfBrush,Double,Double,Double,Double,Double,Double) Fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
DrawChord(PdfBrush,Double,Double,Double,Double,Double,Double,Double) Fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
DrawChord(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double) Draws and fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
DrawChord(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double,Double) Draws and fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

DrawChord(PdfPen,Double,Double,Double,Double,Double,Double)

Draws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

C#
public void DrawChord(PdfPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle)

Parameters

pen PdfPen

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

x Double

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y Double

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width Double

Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height Double

Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle Double

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

sweepAngle Double

Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

DrawChord(PdfPen,Double,Double,Double,Double,Double,Double,Double)

Draws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

C#
public void DrawChord(PdfPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle, double rotation)

Parameters

pen PdfPen

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

x Double

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y Double

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width Double

Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height Double

Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle Double

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

sweepAngle Double

Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

rotation Double

Rotation angle of the bounding rectangle that defines the chord.

DrawChord(PdfBrush,Double,Double,Double,Double,Double,Double)

Fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

C#
public void DrawChord(PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle)

Parameters

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y Double

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width Double

Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height Double

Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle Double

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

sweepAngle Double

Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

DrawChord(PdfBrush,Double,Double,Double,Double,Double,Double,Double)

Fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

C#
public void DrawChord(PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle, double rotation)

Parameters

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y Double

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width Double

Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height Double

Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle Double

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

sweepAngle Double

Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

rotation Double

Rotation angle of the bounding rectangle that defines the chord.

DrawChord(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double)

Draws and fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

C#
public void DrawChord(PdfPen pen, PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle)

Parameters

pen PdfPen

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

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y Double

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width Double

Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height Double

Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle Double

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

sweepAngle Double

Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

DrawChord(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double,Double)

Draws and fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.

C#
public void DrawChord(PdfPen pen, PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle, double rotation)

Parameters

pen PdfPen

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

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y Double

The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width Double

Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height Double

Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle Double

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

sweepAngle Double

Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

rotation Double

Rotation angle of the bounding rectangle that defines the chord.