ComponentOne PDF for .NET
DrawBeziers Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class : DrawBeziers Method
A pen object that determines the color, width, and style of the Bezier splines.
Array of point structures that represent the points that determine the curve.
Draws a series of Bezier splines from an array of point structures.
Syntax
'Declaration
 
Public Sub DrawBeziers( _
   ByVal pen As System.Drawing.Pen, _
   ByVal points() As System.Drawing.PointF _
) 
public void DrawBeziers( 
   System.Drawing.Pen pen,
   System.Drawing.PointF[] points
)

Parameters

pen
A pen object that determines the color, width, and style of the Bezier splines.
points
Array of point structures that represent the points that determine the curve.
Remarks

The first spline requires four points, and each additional spline requires three additional points (it starts from the last point in the previous spline). Therefore, the points array must contain at least four points, and the total length minus one must be a multiple of three.

All coordinates are expressed in points, measured from the upper-left corner of the page.

See Also

Reference

C1PdfDocument Class
C1PdfDocument Members