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

In This Topic
    DrawBezier Method (C1PdfDocument)
    In This Topic
    Draws a Bezier spline defined by four point structures.
    Syntax
    'Declaration
     
    
    Public Sub DrawBezier( _
       ByVal pen As Pen, _
       ByVal start As PointF, _
       ByVal ctl1 As PointF, _
       ByVal ctl2 As PointF, _
       ByVal end As PointF _
    ) 
    public void DrawBezier( 
       Pen pen,
       PointF start,
       PointF ctl1,
       PointF ctl2,
       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