ComponentOne PDF for WPF and Silverlight
DrawBezier Method (C1PdfDocument)

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocument Class : DrawBezier Method
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 Pen, _
   ByVal start As Point, _
   ByVal ctl1 As Point, _
   ByVal ctl2 As Point, _
   ByVal end As Point _
) 
public void DrawBezier( 
   Pen pen,
   Point start,
   Point ctl1,
   Point ctl2,
   Point end
)

Parameters

pen
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