ComponentOne PDF for .NET
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.

In This Topic
    DrawBeziers Method (C1PdfDocument)
    In This Topic
    Draws a series of Bezier splines from an array of point structures.
    Syntax
    'Declaration
     
    
    Public Sub DrawBeziers( _
       ByVal pen As Pen, _
       ByVal points() As PointF _
    ) 
    public void DrawBeziers( 
       Pen pen,
       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