You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > Low-level Functions > PdfAddCurveToPath2 Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfAddCurveToPath2 Method

Append a cubic Bézier curve, using current point and (X2, Y2) as control points, from the current point to the point (X3, Y3), into the current page of a PDF.

C#
public PdfAddCurveToPath2(
    int PdfID, 
    Single X2, 
    Single Y2, 
    Single X3, 
    Single Y3
);
Visual Basic
Public Sub PdfAddCurveToPath2(
    ByVal PdfID As Integer, 
    ByVal X2 As Single, 
    ByVal Y2 As Single, 
    ByVal X3 As Single, 
    ByVal Y3 As Single
)
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. 
X2 
The X destination in current unit defined by the PdfSetMeasurementUnit() function of the second Bézier control point. 
Y2 
The Y (from the bottom) destination in current unit defined by the PdfSetMeasurementUnit() function of the second Bézier control point. 
X3 
The X destination in current unit defined by the PdfSetMeasurementUnit() function of the curve end point. 
Y3 
The Y (from the bottom) destination in current unit defined by the PdfSetMeasurementUnit() function of curve end point. 

The new current point in the subpath will be (X3, Y3).

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.