ComponentOne PDF for .NET
DrawBezier Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class : DrawBezier Method
System.Drawing.Pen object that determines the color, width, and style of the Bezier spline.
A point structure that represents the starting point of the curve.
A point structure that represents the first control point for the curve.
A point structure that represents the second control point for the curve.
A point structure that represents the ending point of the curve.
Draws a Bezier spline defined by four point structures.
Syntax
'Declaration
 
Public Sub DrawBezier( _
   ByVal pen As System.Drawing.Pen, _
   ByVal start As System.Drawing.PointF, _
   ByVal ctl1 As System.Drawing.PointF, _
   ByVal ctl2 As System.Drawing.PointF, _
   ByVal end As System.Drawing.PointF _
) 
public void DrawBezier( 
   System.Drawing.Pen pen,
   System.Drawing.PointF start,
   System.Drawing.PointF ctl1,
   System.Drawing.PointF ctl2,
   System.Drawing.PointF end
)

Parameters

pen
System.Drawing.Pen object that determines the color, width, and style of the Bezier spline.
start
A point structure that represents the starting point of the curve.
ctl1
A point structure that represents the first control point for the curve.
ctl2
A point structure that represents the second control point for the curve.
end
A point structure that represents the ending point of the curve.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members