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

Draws a curve from 3 points into the current page of a PDF.

C#
public PdfDrawCurve(
    int PdfID, 
    Single DstX1, 
    Single DstY1, 
    Single DstX2, 
    Single DstY2, 
    Single DstX3, 
    Single DstY3, 
    Single BorderWidth, 
    Color PenColor
);
Visual Basic
Public Sub PdfDrawCurve(
    ByVal PdfID As Integer, 
    ByVal DstX1 As Single, 
    ByVal DstY1 As Single, 
    ByVal DstX2 As Single, 
    ByVal DstY2 As Single, 
    ByVal DstX3 As Single, 
    ByVal DstY3 As Single, 
    ByVal BorderWidth As Single, 
    ByVal PenColor As Color
)
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. 
DstX1 
The first X destination point in current unit defined by the PdfSetMeasurementUnit() function.  
DstY1 
The first Y destination point (from the bottom) in current unit defined by the PdfSetMeasurementUnit() function.  
DstX2 
The second X destination point in current unit defined by the PdfSetMeasurementUnit() function.  
DstY2 
The second Y destination point (from the bottom) in current unit defined by the PdfSetMeasurementUnit() function.  
DstX3 
The third X destination point in current unit defined by the PdfSetMeasurementUnit() function.  
DstY3 
The third Y destination point (from the bottom) in current unit defined by the PdfSetMeasurementUnit() function.  
BorderWidth 
The with of the pen used to draw the curve in point.  
PenColor 
Color Object. You can build a Color Object using the ARGB() function. Color used to draw the circle.  
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.